nAnimBuilder::Group Class Reference
#include <nanimbuilder.h>
Detailed Description
an animation curve group
Definition at line 111 of file nanimbuilder.h.
Public Types | |
| enum | LoopType { CLAMP, REPEAT } |
| loop types More... | |
Public Member Functions | |
| Group () | |
| constructor | |
| void | AddCurve (const Curve &curve) |
| add an animation curve object | |
| int | GetNumCurves () const |
| get number of animation curves | |
| Curve & | GetCurveAt (int index) const |
| get animation curve at index | |
| void | SetLoopType (LoopType t) |
| set loop type | |
| LoopType | GetLoopType () const |
| get loop type | |
| void | SetFadeInFrames (float frames) |
| set fade in frames | |
| float | GetFadeInFrames () const |
| get fade in frames | |
| void | SetStartKey (int start) |
| set the start key | |
| int | GetStartKey () const |
| get the start key | |
| void | SetNumKeys (int num) |
| set number of keys | |
| int | GetNumKeys () const |
| get number of keys | |
| void | SetKeyTime (float t) |
| set the key duration | |
| float | GetKeyTime () const |
| get the key duration | |
| void | SetKeyStride (int stride) |
| set the key stride | |
| int | GetKeyStride () const |
| get the key stride | |
| bool | Validate () const |
| check if the curves are valid | |
| void | SetAnimJoints (nArray< nString > joints) |
| set array of animated joints | |
| nArray< nString > | GetAnimJoints () const |
| get array og animated joints | |
Static Public Member Functions | |
| static const char * | LoopType2String (LoopType t) |
| convert loop type to string | |
| static LoopType | String2LoopType (const char *str) |
| convert string to loop type | |
Public Attributes | |
| nArray< Curve > | curveArray |
| LoopType | loopType |
| nString | groupName |
| int | startKey |
| int | numKeys |
| int | keyStride |
| float | keyTime |
| nArray< nString > | animJoints |
| float | fadeInFrames |
Member Enumeration Documentation
|
|
loop types
Definition at line 115 of file nanimbuilder.h. |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 503 of file nanimbuilder.h. |
Member Function Documentation
|
|
add an animation curve object
Definition at line 519 of file nanimbuilder.h. |
|
|
get number of animation curves
Definition at line 529 of file nanimbuilder.h. |
|
|
get animation curve at index
Definition at line 539 of file nanimbuilder.h. |
|
|
set loop type
Definition at line 549 of file nanimbuilder.h. |
|
|
get loop type
Definition at line 559 of file nanimbuilder.h. |
|
|
set fade in frames
Definition at line 569 of file nanimbuilder.h. |
|
|
get fade in frames
Definition at line 579 of file nanimbuilder.h. |
|
|
set the start key
Definition at line 589 of file nanimbuilder.h. |
|
|
get the start key
Definition at line 599 of file nanimbuilder.h. |
|
|
set number of keys
Definition at line 609 of file nanimbuilder.h. |
|
|
get number of keys
Definition at line 619 of file nanimbuilder.h. |
|
|
set the key duration
Definition at line 649 of file nanimbuilder.h. |
|
|
get the key duration
Definition at line 659 of file nanimbuilder.h. |
|
|
set the key stride
Definition at line 629 of file nanimbuilder.h. |
|
|
get the key stride
Definition at line 639 of file nanimbuilder.h. |
|
|
check if the curves are valid
Definition at line 689 of file nanimbuilder.h. |
|
|
convert loop type to string
Definition at line 709 of file nanimbuilder.h. |
|
|
convert string to loop type
Definition at line 725 of file nanimbuilder.h. |
|
|
set array of animated joints
Definition at line 669 of file nanimbuilder.h. |
|
|
get array og animated joints
Definition at line 679 of file nanimbuilder.h. |
Member Data Documentation
|
|
Definition at line 164 of file nanimbuilder.h. |
|
|
Definition at line 165 of file nanimbuilder.h. |
|
|
Definition at line 166 of file nanimbuilder.h. |
|
|
Definition at line 167 of file nanimbuilder.h. |
|
|
Definition at line 168 of file nanimbuilder.h. |
|
|
Definition at line 169 of file nanimbuilder.h. |
|
|
Definition at line 170 of file nanimbuilder.h. |
|
|
Definition at line 171 of file nanimbuilder.h. |
|
|
Definition at line 172 of file nanimbuilder.h. |
The documentation for this class was generated from the following file: