CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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

void DrawToTexture (csProcSkyTexture *skytex, csTicks current_time, iObjectRegistry *object_reg)
 do a nextframe like drawing update. More...

void MakeIntersectCache (csProcSkyTexture *skytex)
 Make intersection point cache in a texture. More...

void SetAnimated (iObjectRegistry *object_reg, bool anim=true, csTicks current_time=0)
 Enable or disable sky animation. More...

bool GetAnimated () const
 See if the prsky is animated. More...

csProcSkyTextureGetFirstSky () const
 get first sky texture with this sky. More...

void SetFirstSky (csProcSkyTexture *s)
 set first sky texture with this sky. More...


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

void csProcSky::DrawToTexture csProcSkyTexture   skytex,
csTicks    current_time,
iObjectRegistry   object_reg
 

do a nextframe like drawing update.

bool csProcSky::GetAnimated   const [inline]
 

See if the prsky is animated.

Definition at line 196 of file prsky.h.

csProcSkyTexture* csProcSky::GetFirstSky   const [inline]
 

get first sky texture with this sky.

Definition at line 198 of file prsky.h.

void csProcSky::MakeIntersectCache csProcSkyTexture   skytex
 

Make intersection point cache in a texture.

void csProcSky::SetAnimated iObjectRegistry   object_reg,
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.

void csProcSky::SetFirstSky csProcSkyTexture   s [inline]
 

set first sky texture with this sky.

Definition at line 200 of file prsky.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14