nTextureAnimator Class Reference
[Scene Animators]
#include <ntextureanimator.h>
Inheritance diagram for nTextureAnimator:

Detailed Description
nTextureAnimator selects between one of several possible textures.See also nTextureAnimator Script Interface
(C) 2004 Rafael Van Daele-Hunt
Definition at line 18 of file ntextureanimator.h.
Public Member Functions | |
| nTextureAnimator () | |
| constructor | |
| virtual | ~nTextureAnimator () |
| destructor | |
| virtual bool | SaveCmds (nPersistServer *ps) |
| save object to persistent stream | |
| virtual Type | GetAnimatorType () const |
| return the type of this animator object | |
| virtual void | Animate (nSceneNode *sceneNode, nRenderContext *renderContext) |
| called by scene node objects which wish to be animated by this object | |
| void | AddTexture (const char *path) |
| Add a texture to the array (with index number equal to the number of textures added thus far). | |
| void | SetShaderParam (const char *param) |
| Sets the shader state parameter that will be passed to nAbstractShaderNode::SetTexture. | |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 15 of file ntextureanimator_main.cc. |
|
|
destructor
Definition at line 25 of file ntextureanimator_main.cc. |
Member Function Documentation
|
|
save object to persistent stream
Reimplemented from nAnimator. |
|
|
return the type of this animator object
Reimplemented from nAnimator. Definition at line 57 of file ntextureanimator.h. |
|
||||||||||||
|
called by scene node objects which wish to be animated by this object This does the actual work of selecting a texture.
Reimplemented from nAnimator. Definition at line 38 of file ntextureanimator_main.cc. |
|
|
Add a texture to the array (with index number equal to the number of textures added thus far).
Definition at line 56 of file ntextureanimator_main.cc. |
|
|
Sets the shader state parameter that will be passed to nAbstractShaderNode::SetTexture.
Definition at line 65 of file ntextureanimator_main.cc. |
The documentation for this class was generated from the following files: