Editor utility functions for modifying animation clips.
CalculateTransformPath | Calculates path from root transform to target transform. |
GetAllCurves | Retrieves all curves from a specific animation clip. |
GetAnimationClips | Returns the array of AnimationClips that are referenced in the Animation component. |
GetAnimationEvents | Retrieves all animation events associated with the animation clip. |
GetEditorCurve | Unity automatic combines position curves, scale curves, rotation curves internally. |
GetFloatValue | Retrieves the current float value by sampling a curve value on a specific game object. |
SetAnimationClips | Sets the array of AnimationClips to be referenced in the Animation component. |
SetAnimationEvents | Replaces all animation events in the animation clip. |
SetEditorCurve | Adds an editor curve to the given clip. |