Mark whether the current frame is played. When set new time to animation state, we should ensure the frame at the specified time being played at next update.
单次动画的持续时间,秒。
播放速率。
动画当前的时间,秒。
The weight.
此动画状态正在播放的剪辑。
延迟多少秒播放。
当前是否正在暂停。
当前是否正在播放。
动画的名字。
迭代次数,指动画播放多少次后结束, normalize time。 如 2.5(2次半)。
暂停动画。
播放动画。
重新播放动画。
执行一帧动画。
停止动画播放。
Generated using TypeDoc
AnimationState 完全控制动画播放过程。
大多数情况下 动画组件 是足够和易于使用的。如果您需要更多的动画控制接口,请使用 AnimationState。