SetNodeAnimationKeyFrameScale()

Syntax

SetNodeAnimationKeyFrameScale(#NodeAnimation, KeyFrame, x, y, z)
Description
Changes the keyframe scale factor for the #NodeAnimation. The scale factor will be applied to the node associated to the animation.

Parameters

#NodeAnimation The node animation to use.
#Keyframe The node animation keyframe index. The first keyframe index is zero. If the keyframe doesn't exists, this function has no effect.
x The new keyframe 'x' scale factor. If this value is 1.0, no scaling will be applied on the 'x' axis.
y The new keyframe 'y' scale factor. If this value is 1.0, no scaling will be applied on the 'y' axis.
z The new keyframe 'z' scale factor. If this value is 1.0, no scaling will be applied on the 'z' axis.

Return value

None.

Remarks

The scale factor will resize the node by multiplying its size with the given factor:
- a scale factor of 1.0 will not affect the size of the node
- a scale factor of 2.0 will double the size of the node
- a scale factor of 0.5 will half the size of the node

See Also

CreateNodeAnimationKeyFrame(), GetNodeAnimationKeyFramePitch(), GetNodeAnimationKeyFrameYaw(), GetNodeAnimationKeyFrameRoll()

Supported OS

All

<- SetNodeAnimationKeyFrameRotation() - NodeAnimation Index - SetNodeAnimationLength() ->