C4 Engine
C4 Engine API Documentation

Model::GetTransformAnimationIndex

Defined in:  C4Models.h
Returns the index of a node with an animated transform.
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

Model::GetAnimatedTransformNodeCount

Model::GetRootAnimator

Model::SetRootAnimator

Model::AnimateModel

Animator