AnimationUtility
Description

Editor utility functions for modifying animation clips.

Static Functions
CalculateTransformPath Calculates path from root transform to target transform.
GetAllCurves Retrieves all curves from a specific animation clip.
GetAnimatableObjects Returns a list of animatable objects attached to the game object (includes materials).
GetAnimatableProperties Retrieves all animatable properties of all components / materials attached to the game object.
GetAnimatablePropertiesForObject Returns a list of animatable properties for a specific animated object that is attached to gameObject.
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.
InAnimationMode Returns true if the editor is currently in animation mode.
SetAnimationClips Sets the array of AnimationClips to be referenced in the Animation component.
SetAnimationEvents Replaces all animation events in the animation clip.
SetEditorCurve Unity automatic combines position curves, scale curves, rotation curves internally.
StartAnimationMode Starts animation mode, as used by the animation editor.
StopAnimationMode Stops animation mode, as used by the animation editor.