AnimationClipCurveData
- curve曲线
- path轨迹
- propertyName属性名称
- target目标
- type类型
AnimationClipCurveData 动画剪辑曲线数据
An AnimationClipCurveData object contains all the information needed to identify a specific curve in an AnimationClip. The curve animates a specific property of a component / material attached to a game object / animated bone.
一个AnimationClipCurveData对象包含所有的信息需要明确一个明确的AnimationClip曲线。曲线动画一个组件的特定属性 /游戏对象的附加材质 /骨骼动画。
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
注意:这是一个编辑器类,如果想使用它你需要把它放到工程目录下的Assets/Editor文件夹下。编辑器类在UnityEditor命名空间下。所以当使用C#脚本时,你需要在脚本前面加上 "using UnityEditor"引用。
参见: AnimationUtility, ObjectNames
Variables变量
-
The path of the game object / bone being animated.
带有动画的游戏对象/骨骼的运动轨迹 -
The type of the component / material being animated.
带有动画的组件/材质的类型 -
The name of the property being animated.
带有动画的属性名称 -
The actual animation curve.
当前的动画曲线 -
The component / material being animated.
带有动画的组件/材质
最后修改:2011年4月11日 Monday 10:28