Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csProcSky Class Reference

a sky, this represents a whole sphere of sky - so multiple polygons can be rendered to. More...

#include <prsky.h>

List of all members.

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.

csProcSkyTextureGetFirstSky () 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.


Member Function Documentation

void csProcSky::SetAnimated ( bool anim = true,
csTicks current_time = 0 )
 

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.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000