nAnimation::Curve Class Reference
#include <nanimation.h>
Detailed Description
holds animation curve information
Definition at line 96 of file nanimation.h.
Public Types | |
| enum | IpolType { None = 0, Step, Quat, Linear } |
| interpolation type More... | |
Public Member Functions | |
| Curve () | |
| constructor | |
| ~Curve () | |
| destructor | |
| void | SetIpolType (IpolType t) |
| set the interpolation type | |
| IpolType | GetIpolType () const |
| get the interpolation type | |
| void | SetConstValue (const vector4 &val) |
| set the curve's const value | |
| const vector4 & | GetConstValue () const |
| get the curve's const value | |
| void | SetFirstKeyIndex (int index) |
| set index of the first key in the global key array | |
| int | GetFirstKeyIndex () const |
| get first key index | |
| void | SetIsAnimated (int isAnim) |
| set curve as animated or not | |
| int | IsAnimated () const |
| is curve animated? | |
| void | SetStartValue (vector4 val) |
| set the start value (at frame 0/ time 0) of the curve | |
| vector4 | GetStartValue () const |
| get the start value of the curve | |
| void | SetCurAnimClipValue (vector4 value) |
| set the animation value of the curve if it is animated | |
| vector4 | GetCurAnimClipValue () const |
| get the animation value of the curve | |
Static Public Member Functions | |
| static IpolType | StringToIpolType (const char *str) |
| convert a string to an ipol type | |
Member Enumeration Documentation
|
|
interpolation type
Definition at line 100 of file nanimation.h. |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 241 of file nanimation.h. |
|
|
destructor
Definition at line 255 of file nanimation.h. |
Member Function Documentation
|
|
set the interpolation type
Definition at line 265 of file nanimation.h. |
|
|
get the interpolation type
Definition at line 276 of file nanimation.h. |
|
|
set the curve's const value
Definition at line 286 of file nanimation.h. |
|
|
get the curve's const value
Definition at line 296 of file nanimation.h. |
|
|
convert a string to an ipol type
Definition at line 326 of file nanimation.h. |
|
|
set index of the first key in the global key array
Definition at line 306 of file nanimation.h. |
|
|
get first key index
Definition at line 316 of file nanimation.h. |
|
|
set curve as animated or not
Definition at line 340 of file nanimation.h. |
|
|
is curve animated?
Definition at line 350 of file nanimation.h. |
|
|
set the start value (at frame 0/ time 0) of the curve
Definition at line 360 of file nanimation.h. |
|
|
get the start value of the curve
Definition at line 370 of file nanimation.h. |
|
|
set the animation value of the curve if it is animated
Definition at line 380 of file nanimation.h. |
|
|
get the animation value of the curve
Definition at line 390 of file nanimation.h. |
The documentation for this class was generated from the following file: