C4 Engine
C4 Engine API Documentation

Animator::GetAnimatorTransformNodeStart

Defined in:  C4Animation.h
Returns the index of the first node targeted for transform animation.
Prototype

int32 GetAnimatorTransformNodeStart(voidconst;

Description
The GetAnimatorTransformNodeStart function returns the index of the first animated node targeted by an animator. This index has a value in the range [0, n), where n is the number of animated nodes returned by the Model::GetAnimatedTransformNodeCount function. The starting index is calculated when the animator is preprocessed based on the target node of the animator.

The index of the first node actually affected by an animator may be larger than the index returned by the GetAnimatorTransformNodeStart function. The actual range of affected nodes can be retrieved by calling the Animator::GetOutputTransformNodeStart and Animator::GetOutputTransformNodeCount functions.
See Also

Animator::GetAnimatorTransformNodeCount

Animator::GetOutputTransformNodeStart

Animator::GetOutputTransformNodeCount