GetNodeAnimationWeight()

Syntax

Result = GetNodeAnimationWeight(#NodeAnimation)
Description
Returns the #NodeAnimation weight. The weight is useful when playing several animations at once. For example to do a smooth transition from one animation to another, it is possible to reduce progressively the weight of the first animation and increase the weight of the second animation.

Parameters

#NodeAnimation The node animation to use.

Return value

The current node animation weight (value between 0.0 and 1.0). If the weight is 0, then the animation has no effect. If the weight is 1, then animation is fully playing.

See Also

StartNodeAnimation()

Supported OS

All

<- GetNodeAnimationTime() - NodeAnimation Index - NodeAnimationStatus() ->