Model::GetTransformAnimationIndex
Defined in:
Returns the index of a node with an animated transform.
C4Models.h
Prototype
int32 GetTransformAnimationIndex(const Node *node) const;
Parameters
node |
The node within the model whose index is returned. |
Description
The GetTransformAnimationIndex
function returns the index of the node specified by the node
parameter among all of the nodes with animated transforms belonging to a model. The index is always less than the total number of nodes with animated transforms returned by the Model::GetAnimatedTransformNodeCount
function. If the node specified by the node
parameter does not have an animated transform, then the return value is -1
.
See Also