csProcSky Class Reference
a sky, this represents a whole sphere of sky - so multiple polygons can be rendered to. More...
#include <prsky.h>
Public Methods | |
void | DrawToTexture (csProcSkyTexture *skytex, csTicks current_time, iObjectRegistry *object_reg) |
do a nextframe like drawing update | |
void | MakeIntersectCache (csProcSkyTexture *skytex) |
Make intersection point cache in a texture. | |
void | SetAnimated (iObjectRegistry *object_reg, bool anim=true, csTicks current_time=0) |
Enable or disable sky animation. | |
bool | GetAnimated () const |
See if the prsky is animated. | |
csProcSkyTexture * | GetFirstSky () const |
get first sky texture with this sky | |
void | SetFirstSky (csProcSkyTexture *s) |
set first sky texture with this sky |
Detailed Description
a sky, this represents a whole sphere of sky - so multiple polygons can be rendered to.
Definition at line 98 of file prsky.h.
Member Function Documentation
|
do a nextframe like drawing update
|
|
See if the prsky is animated.
|
|
get first sky texture with this sky
|
|
Make intersection point cache in a texture.
|
|
Enable or disable sky animation. Sky animation is very slow. If you wish to continue the animated where it left off (seamlessly) pass the current time, if you wish to continue where the animated would be if it had been running all the time - pass 0 for time. current_time has no meaning when disabling the animation. |
|
set first sky texture with this sky
|
The documentation for this class was generated from the following file:
- cstool/prsky.h
Generated for Crystal Space by doxygen 1.2.18