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

Detailed Description
Animate position, orientation and scaling of a nTransformNode from directly defined key arrays.See also nTransformAnimator Script Interface
(C) 2003 RadonLabs GmbH
Definition at line 19 of file ntransformanimator.h.
Public Member Functions | |
| nTransformAnimator () | |
| constructor | |
| virtual | ~nTransformAnimator () |
| destructor | |
| virtual bool | SaveCmds (nPersistServer *ps) |
| save object to persistent stream | |
| virtual Type | GetAnimatorType () const |
| return the type of this animator object (TRANSFORM) | |
| virtual void | Animate (nSceneNode *sceneNode, nRenderContext *renderContext) |
| called by scene node objects which wish to be animated by this object | |
| void | AddPosKey (float time, const vector3 &key) |
| add a position key | |
| void | AddEulerKey (float time, const vector3 &key) |
| add a euler angle key | |
| void | AddScaleKey (float time, const vector3 &key) |
| add a scale key | |
| int | GetNumPosKeys () const |
| get number of position keys | |
| void | GetPosKeyAt (int index, float &time, vector3 &key) const |
| get position key at index | |
| int | GetNumEulerKeys () const |
| get number of euler angle keys | |
| void | GetEulerKeyAt (int index, float &time, vector3 &key) const |
| get euler key at index | |
| int | GetNumScaleKeys () const |
| get number of scale keys | |
| void | GetScaleKeyAt (int index, float &time, vector3 &key) const |
| get scale key at index | |
| void | AddQuatKey (float time, const quaternion &key) |
| add a quaternion key | |
| int | GetNumQuatKeys () const |
| get number of quaternion keys | |
| void | GetQuatKeyAt (int index, float &time, quaternion &key) const |
| get scale key at index | |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 14 of file ntransformanimator_main.cc. |
|
|
destructor
Definition at line 26 of file ntransformanimator_main.cc. |
Member Function Documentation
|
|
save object to persistent stream
Reimplemented from nAnimator. |
|
|
return the type of this animator object (TRANSFORM)
Reimplemented from nAnimator. Definition at line 35 of file ntransformanimator_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 48 of file ntransformanimator_main.cc. |
|
||||||||||||
|
add a position key
Definition at line 70 of file ntransformanimator.h. |
|
||||||||||||
|
add a euler angle key
Definition at line 81 of file ntransformanimator.h. |
|
||||||||||||
|
add a scale key
Definition at line 92 of file ntransformanimator.h. |
|
|
get number of position keys
Definition at line 114 of file ntransformanimator.h. |
|
||||||||||||||||
|
get position key at index Obtain a position key by its index.
Definition at line 159 of file ntransformanimator.h. |
|
|
get number of euler angle keys
Definition at line 124 of file ntransformanimator.h. |
|
||||||||||||||||
|
get euler key at index Obtain a euler key by its index.
Definition at line 176 of file ntransformanimator.h. |
|
|
get number of scale keys
Definition at line 134 of file ntransformanimator.h. |
|
||||||||||||||||
|
get scale key at index Obtain a scale key by its index.
Definition at line 193 of file ntransformanimator.h. |
|
||||||||||||
|
add a quaternion key
Definition at line 103 of file ntransformanimator.h. |
|
|
get number of quaternion keys
Definition at line 144 of file ntransformanimator.h. |
|
||||||||||||||||
|
get scale key at index Obtain a quaternion key by its index.
Definition at line 210 of file ntransformanimator.h. |
The documentation for this class was generated from the following files: