nUvAnimator Class Reference
[Scene System]
#include <nuvanimator.h>
Inheritance diagram for nUvAnimator:

Detailed Description
Animates the UV transform parameters on an nAbstractShaderNode.See also nUvAnimator Script Interface
-01-Nov-06 kims Changed vector2 to vector3 type on AddEulerKey() and GetEulerKeyAt() functions. The changes were done for uv animation.
(C) 2004 RadonLabs GmbH
Definition at line 22 of file nuvanimator.h.
Public Member Functions | |
| nUvAnimator () | |
| constructor | |
| virtual | ~nUvAnimator () |
| destructor | |
| virtual bool | SaveCmds (nPersistServer *ps) |
| save object to persistent stream | |
| virtual Type | GetAnimatorType () const |
| return the type of this animator object (SHADER) | |
| virtual void | Animate (nSceneNode *sceneNode, nRenderContext *renderContext) |
| called by scene node objects which wish to be animated by this object | |
| void | AddPosKey (uint texLayer, float time, const vector2 &key) |
| add a position key | |
| void | AddEulerKey (uint texLayer, float time, const vector3 &key) |
| add a euler angle key | |
| void | AddScaleKey (uint texLayer, float time, const vector2 &key) |
| add a scale key | |
| int | GetNumPosKeys (uint texLayer) const |
| get number of position keys | |
| void | GetPosKeyAt (uint texLayer, uint keyIndex, float &time, vector2 &key) const |
| get position key at index | |
| int | GetNumEulerKeys (uint texLayer) const |
| get number of euler angle keys | |
| void | GetEulerKeyAt (uint texLayer, uint keyIndex, float &time, vector3 &key) const |
| get euler key at index | |
| int | GetNumScaleKeys (uint texLayer) const |
| get number of scale keys | |
| void | GetScaleKeyAt (uint texLayer, uint keyIndex, float &time, vector2 &key) const |
| get scale key at index | |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 14 of file nuvanimator_main.cc. |
|
|
destructor
Definition at line 22 of file nuvanimator_main.cc. |
Member Function Documentation
|
|
save object to persistent stream
Reimplemented from nAnimator. |
|
|
return the type of this animator object (SHADER)
Reimplemented from nAnimator. Definition at line 31 of file nuvanimator_main.cc. |
|
||||||||||||
|
called by scene node objects which wish to be animated by this object This does the actual work of manipulate the target object.
Reimplemented from nAnimator. Definition at line 47 of file nuvanimator_main.cc. |
|
||||||||||||||||
|
add a position key
Definition at line 66 of file nuvanimator.h. |
|
||||||||||||||||
|
add a euler angle key -01-Nov-06 kims Changed to have vector3 in-arg for uv animation. Definition at line 79 of file nuvanimator.h. |
|
||||||||||||||||
|
add a scale key
Definition at line 91 of file nuvanimator.h. |
|
|
get number of position keys
Definition at line 103 of file nuvanimator.h. |
|
||||||||||||||||||||
|
get position key at index Obtain a position key by its index.
Definition at line 142 of file nuvanimator.h. |
|
|
get number of euler angle keys
Definition at line 114 of file nuvanimator.h. |
|
||||||||||||||||||||
|
get euler key at index Obtain a euler key by its index. -01-Nov-06 kims Changed to have vector3 in-arg for uv animation.
Definition at line 163 of file nuvanimator.h. |
|
|
get number of scale keys
Definition at line 125 of file nuvanimator.h. |
|
||||||||||||||||||||
|
get scale key at index Obtain a scale key by its index.
Definition at line 182 of file nuvanimator.h. |
The documentation for this class was generated from the following files: