csProcSkyTexture Class Reference
A polygon of a sky. More...
#include <prsky.h>
Inheritance diagram for csProcSkyTexture:

Public Methods | |
csProcSkyTexture (csProcSky *par) | |
create, given a sky it belongs to. | |
virtual bool | PrepareAnim () |
Prepare the animation for use. | |
virtual void | Animate (csTicks current_time) |
Draw the next frame. | |
int | GetWidth () const |
get the width of this texture | |
int | GetHeight () const |
get the height of this texture | |
void | GetTextureSpace (csVector3 &orig, csVector3 &u, csVector3 &v) const |
get texturespace values | |
void | SetIntersect (csVector3 *icache) |
set cached isects cache array | |
csVector3 * | GetIntersect () const |
get cached isects cache array | |
void | ForceRerender () |
force the texture to be re-rendered next frame (by the prSky) | |
bool | MustRender () const |
see if the texture must be re-rendered | |
void | UnsetForceRender () |
unset the forced rendering. | |
bool | AnimPrepared () |
has been prepared ? | |
void | SetTextureSpace (const csVector3 &tex_orig, const csVector3 &total_u, const csVector3 &total_v) |
Set the texturemapping of the sky onto this texture txtorig is a corner point of the polygon (say the topleft point) (in world coordinates) txtu is the vector towards the right for the length of the polygon (thus txtorig+txtu is the topright point) txtv is the vector towards the bottom for the length of the polygon (thus txtorig+txtv is the bottomleft point). |
Detailed Description
A polygon of a sky.
Definition at line 34 of file prsky.h.
Constructor & Destructor Documentation
|
create, given a sky it belongs to.
|
Member Function Documentation
|
Draw the next frame.
Implements csProcTexture. |
|
has been prepared ?
|
|
force the texture to be re-rendered next frame (by the prSky)
|
|
get the height of this texture
|
|
get cached isects cache array
|
|
get texturespace values
|
|
get the width of this texture
|
|
see if the texture must be re-rendered
|
|
Prepare the animation for use. This needs to be done after the texture has been prepared. Reimplemented from csProcTexture. |
|
set cached isects cache array
|
|
Set the texturemapping of the sky onto this texture txtorig is a corner point of the polygon (say the topleft point) (in world coordinates) txtu is the vector towards the right for the length of the polygon (thus txtorig+txtu is the topright point) txtv is the vector towards the bottom for the length of the polygon (thus txtorig+txtv is the bottomleft point).
|
|
unset the forced rendering.
|
The documentation for this class was generated from the following file:
- cstool/prsky.h
Generated for Crystal Space by doxygen 1.2.18