#include <prsky.h>
Public Methods | |
csProcSky () | |
~csProcSky () | |
void | DrawToTexture (csProcSkyTexture *skytex, csTicks current_time) |
do a nextframe like drawing update. | |
void | MakeIntersectCache (csProcSkyTexture *skytex) |
Make intersection point cache in a texture. | |
void | SetAnimated (bool anim=true, csTicks current_time=0) |
Enable or disable sky animation. More... | |
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. |
|
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. |