Public Member Functions |
|
FBAnimationNode (str pName=None) | |
Constructor. |
|
FBTime | ConvertGlobalToNodeTime (FBTime pKeyTime) |
Convert global time to node time. |
|
FBTime | ConvertNodeToGlobalTime (FBTime pKeyTime) |
Convert node time to global time. |
|
FBAnimationNode | GetAnimationToPlay () |
Get animation node to play from. |
|
FBAnimationNode | GetAnimationToRecord () |
Get animation node to record to. |
|
int | GetDataDoubleArrayCount () |
If the DataPtr is of numeric value type .
|
|
int | GetSizeOfData () |
Get sizeof void Data Ptr. |
|
bool | IsKey () |
Verifies if there is a key at the current.
|
|
KeyAdd (FBTime pTime, float pData) | |
Add a key to the animation node. |
|
KeyAdd (float pData) | |
Add a key to the animation node at current
time. |
|
KeyCandidate () | |
Keys the current candidate values for
current time. |
|
KeyRemove () | |
Remove key at current time. |
|
SetBufferType (bool pGlobal) | |
Set buffer type for
ANIMATIONNODE_TYPE_LOCAL_TRANSLATION,
ANIMATIONNODE_TYPE_LOCAL_ROTATION and
ANIMATIONNODE_TYPE_LOCAL_SCALE. |
|
bool | SetCandidate (float Data) |
Set the current candidate values for current
time. |
|
bool | WriteData (float Data, FBEvaluateInfo pEvaluateInfo) |
Write data to animation node. |
|
Public Attributes |
|
FBInterpolation | DefaultInterpolation |
Read Write Property: Default type of
interpolation. |
|
FBFCurve | FCurve |
Read Write Property: FCurve for
animation.
See sample: StartKeysAtCurrentTime.py. |
|
int | KeyCount |
Read Only Property: Number of keys.
|
|
str | Label |
Read Write Property: Label (UI Name).
|
|
bool | Live |
Read Write Property: Is animation
live? |
|
FBListAnimationNode | Nodes |
List: List of animation nodes.
|
|
bool | RecordMode |
Read Write Property: Is the node in
recording mode (device connectors)? |
|
str | UserName |
Read Only Property: Name of animation
node. |
FBAnimationNode | ( | str | pName = None |
) |
Constructor.
pName | Name of animation node (default is NULL). |
Convert global time to node time.
(NOTE: Only used in the context of a story clip)
pKeyTime | Time of the key to convert. |
Convert node time to global time.
(NOTE: Only used in the context of a story clip)
pKeyTime | Time of the key to convert. |
FBAnimationNode GetAnimationToPlay | ( | ) |
Get animation node to play from.
FBAnimationNode GetAnimationToRecord | ( | ) |
Get animation node to record to.
int GetDataDoubleArrayCount | ( | ) |
If the DataPtr is of numeric value type .
.. get the size of the array ex: Light Intensity:1, Translation 3
int GetSizeOfData | ( | ) |
Get sizeof void Data Ptr.
bool IsKey | ( | ) |
Verifies if there is a key at the current.
Add a key to the animation node.
pTime | Time to add key at. | |
pData | Value of data to add at pTime. |
KeyAdd | ( | float | pData | ) |
Add a key to the animation node at current time.
pData | Value of data to add. |
KeyCandidate | ( | ) |
Keys the current candidate values for current time.
KeyRemove | ( | ) |
Remove key at current time.
SetBufferType | ( | bool | pGlobal | ) |
Set buffer type for ANIMATIONNODE_TYPE_LOCAL_TRANSLATION, ANIMATIONNODE_TYPE_LOCAL_ROTATION and ANIMATIONNODE_TYPE_LOCAL_SCALE.
pGlobal | Is buffer local or global. |
Set the current candidate values for current time.
bool WriteData | ( | float | Data, | |
FBEvaluateInfo | pEvaluateInfo | |||
) |
Write data to animation node.
Data | Data to write to animation node. | |
pEvaluateInfo | Node evaluation information (access to system and local time). |
Read Write Property: Default type of interpolation.
Read Write Property: FCurve for animation. See sample: StartKeysAtCurrentTime.py.
FBListAnimationNode Nodes |
List: List of animation nodes.
Read Write Property: Is the node in recording mode (device connectors)?