Unity3D圣典3.3版本-中文版
文集大纲加载中……
本文档使用 MrDoc 发布
-
+
首页
AnimationCurve 动画曲线
# AnimationCurve 动画曲线 An animation curve. Lets you add keyframes and evaluate the curve at a given time. 动画曲线.让你在给定时间插入关键帧和数值的曲线. A collection of curves form an [AnimationClip](../AnimationClip/AnimationClip.html). 曲线的集合组成动画剪辑([AnimationClip](../AnimationClip/AnimationClip.html)) ### Variables**变量** * [keys](AnimationCurve.keys.html) All keys defined in the animation curve. 动画曲线中定义的所有键. * [this [int index]](AnimationCurve.Index_operator.html) Retrieves the key at index (Read Only) 检索索引中的键.(只读) * [length](AnimationCurve.length.html) The number of keys in the curve (Read Only) 曲线中键的数量(只读) * [preWrapMode](AnimationCurve.preWrapMode.html) The behaviour of the animation before the first keyframe 第一帧关键帧之前动画的行为 * [postWrapMode](AnimationCurve.postWrapMode.html) The behaviour of the animation after the last keyframe 最后一帧关键帧之后动画的行为 ### Constructors**构造器** * [AnimationCurve](AnimationCurve.AnimationCurve.html) Creates an animation curve from arbitrary number of keyframes. 根据任意数量的关键帧创建一个动画曲线. ### Functions**函数** * [Evaluate](AnimationCurve.Evaluate.html) Evaluate the curve at time. 曲线在某时刻的值 * [AddKey](AnimationCurve.AddKey.html) Add a new key to the curve. 在曲线中加入一个键 * [MoveKey](AnimationCurve.MoveKey.html) Removes the keyframe at index and inserts key. 删除索引处的关键帧并插入键 * [RemoveKey](AnimationCurve.RemoveKey.html) Removes a key 删除一个键 * [SmoothTangents](AnimationCurve.SmoothTangents.html) Smooth the in and out tangents of the keyframe at index. 平滑索引处关键帧的切线 ### Class Functions**类函数** * [Linear](AnimationCurve.Linear.html) A straight Line starting at timeStart, valueStart and ending at timeEnd, valueEnd 一条直线,开始于 timeStart, valueStart 终止于 timeEnd, valueEnd * [EaseInOut](AnimationCurve.EaseInOut.html) An ease-in and out curve starting at timeStart, valueStart and ending at timeEnd, valueEnd. 一个渐入渐出的曲线, 开始于 timeStart, valueStart 终止于 timeEnd, valueEnd
da
2022年5月13日 22:15
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码