![]() |
Public API Reference |
#include <prsky.h>
Inheritance diagram for csProcSkyTexture:
Public Methods | |
csProcSkyTexture (csProcSky *par) | |
create, given a sky it belongs to. More... | |
virtual bool | PrepareAnim () |
Prepare the animation for use. More... | |
virtual void | Animate (csTicks current_time) |
Draw the next frame. More... | |
int | GetWidth () const |
get the width of this texture. More... | |
int | GetHeight () const |
get the height of this texture. More... | |
void | GetTextureSpace (csVector3 &orig, csVector3 &u, csVector3 &v) const |
get texturespace values. More... | |
void | SetIntersect (csVector3 *icache) |
set cached isects cache array. More... | |
csVector3 * | GetIntersect () const |
get cached isects cache array. More... | |
void | ForceRerender () |
force the texture to be re-rendered next frame (by the prSky). More... | |
bool | MustRender () const |
see if the texture must be re-rendered. More... | |
void | UnsetForceRender () |
unset the forced rendering. More... | |
bool | AnimPrepared () |
has been prepared ? More... | |
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). More... |
Definition at line 32 of file prsky.h.
|
create, given a sky it belongs to.
|
|
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.
|