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.

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.


See Also: AnimationUtility, ObjectNames.

Variables
path

The path of the game object / bone being animated.

type

The type of the component / material being animated.

propertyName

The name of the property being animated.

curve

The actual animation curve.

target

The component / material being animated.