SetNodeAnimationWeight()

Syntax

SetNodeAnimationWeight(#NodeAnimation, Weight)
Description
Changes 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.
Weight The new 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.

Return value

None.

See Also

StartNodeAnimation()

Supported OS

All

<- SetNodeAnimationTime() - NodeAnimation Index - StartNodeAnimation() ->