Unity3D圣典3.3版本-中文版
文集大纲加载中……
本文档使用 MrDoc 发布
-
+
首页
AnimationState 动画状态
# AnimationState 动画状态 Inherits from TrackedReference The AnimationState gives full control over animation blending. AnimationState 完全控制动画混合。 In most cases the [Animation](../Animation/Animation.html) 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**变量** * [enabled](AnimationState.enabled.html) Enables / disables the animation. 启动/禁止动画 * [weight](AnimationState.weight.html) The weight of animation 动画的权重。 * [wrapMode](AnimationState.wrapMode.html) Wrapping mode of the animation. 动画的循环模式 * [time](AnimationState.time.html) The current time of the animation 动画当前时间 * [normalizedTime](AnimationState.normalizedTime.html) The normalized time of the animation. 动画当前规范化时间 * [speed](AnimationState.speed.html) The playback speed of the animation. 1 is normal playback speed. 动画的播放速度。1 为正常速度。 * [normalizedSpeed](AnimationState.normalizedSpeed.html) The normalized playback speed. 规范化播放速度。 * [length](AnimationState.length.html) The length of the animation clip in seconds. 动画剪辑的长度,单位是秒。 * [layer](AnimationState.layer.html) The layer of the animation. When calculating the final blend weights, animations in higher layers will get their weights 动画层。计算混合权值时,较高层将优先获取权值。 * [clip](AnimationState.clip.html) The clip that is being played by this animation state. 此动画状态播放的剪辑。 * [name](AnimationState.name.html) The name of the animation 动画的名字 * [blendMode](AnimationState.blendMode.html) Which blend mode should be used? 使用哪种混合模式? ### Functions**函数** * [AddMixingTransform](AnimationState.AddMixingTransform.html) Adds a transform which should be animated. This allows you to reduce the number of animations you have to create. 加入一个动画变换。这使你减少创建动画的工作量。
da
2022年5月13日 22:21
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码