AnimationState 动画状态
Inherits from TrackedReference
The AnimationState gives full control over animation blending.
AnimationState完全控制动画混合。
In most cases the Animation interface is sufficient and easier to use. Use the AnimationState if you need full control over the animation blending any playback process.
多数情况下,Animation已经满足使用。如果你需要完全控制动画混合,可以使用AnimationState。
The AnimationState interface allows you to modify speed, weight, time and layers while any animation is playing. You can also setup animation mixing and wrapMode.
播放动画时,AnimationState允许你修改速度,权值,时间和层。你也可以设置动画合成和wrapMode(循环模式)。
The Animation
Variables变量
-
Enables / disables the animation.
启动/禁止动画 -
The weight of animation
动画的权重。 -
Wrapping mode of the animation.
动画的循环模式 -
The current time of the animation
动画当前时间 -
The normalized time of the animation.
动画当前规范化时间 -
The playback speed of the animation. 1 is normal playback speed.
动画的播放速度。1为正常速度。 -
The normalized playback speed.
规范化播放速度。 -
The length of the animation clip in seconds.
动画剪辑的长度,单位是秒。 -
The layer of the animation. When calculating the final blend weights, animations in higher layers will get their weights
动画层。计算混合权值时,较高层将优先获取权值。 -
The clip that is being played by this animation state.
此动画状态播放的剪辑。 -
The name of the animation
动画的名字 -
Which blend mode should be used?
使用哪种混合模式?
Functions函数
-
Adds a transform which should be animated. This allows you to reduce the number of animations you have to create.
加入一个动画变换。这使你减少创建动画的工作量。 -
Removes a transform which should be animated.
删除应该是动画的变换。
最后修改:2011年9月16日 Friday 11:21