SetNodeAnimationKeyFrameScale()

语法

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

参数

#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.

返回值

无.

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

参阅

CreateNodeAnimationKeyFrame(), NodeAnimationKeyFramePitch(), NodeAnimationKeyFrameYaw(), NodeAnimationKeyFrameRoll()

已支持操作系统

所有

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