class in UnityEngine / Inherits from: Motion
Stores keyframe based animations.
储存基于关键帧的动画。
AnimationClip is used by Animation to play back animations.
AnimationClip是用于Animation来播放动画。
events | Animation Events for this animation clip. 用于该剪辑的动画事件。 |
frameRate | Frame rate at which keyframes are sampled. (Read Only) 被取样关键帧的帧速率。(只读) |
humanMotion | Returns true if the animation contains curve that drives a humanoid rig. 如果该动画包含的曲线是人类骨骼,返回true。 |
legacy | Set to true if the AnimationClip will be used with the Legacy Animation component ( instead of the Animator ). 如果动画剪辑被使用于旧版Animation组件,返回true。 |
length | Animation length in seconds. (Read Only) 动画长度,单位秒。(只读) |
localBounds | AABB of this Animation Clip in local space of Animation component that it is attached too. 动画组件在本地坐标空间这个动画剪辑的AABB也被附加。 |
wrapMode | Sets the default wrap mode used in the animation state. 在动画状态设置使用的默认循环模式。 |
AnimationClip | Creates a new animation clip. 创建一个新的动画剪辑。 |
AddEvent | Adds an animation event to the clip. 给剪辑添加动画事件。 |
ClearCurves | Clears all curves from the clip. 从该剪辑清除所有曲线。 |
EnsureQuaternionContinuity | In order to insure better interpolation of quaternions, call this function after you are finished setting animation curves. 为了保证更好的四元数插值,你设置完成动画曲线后调用这个函数。 |
SampleAnimation | Samples an animation at a given time for any animated properties. 在给定的时间采样动画,为任意动画的属性。 |
SetCurve | Assigns the curve to animate a specific property. 指定动画曲线来动画特定的属性。 |