AnimationUtility.PropertyModificationToEditorCurveBinding

Declaration

public static Type PropertyModificationToEditorCurveBinding(PropertyModification modification, GameObject gameObject, out EditorCurveBinding binding);

Parameters

modification The PropertyModification to be converted.
gameObject The root game object of the animated hierarchy.
binding The resulting EditorCurveBinding.

Returns

Type The type of the animated value.

Description

Use this method to convert a PropertyModification to an EditorCurveBinding.

The AnimationWindow uses this method when it filters property modifications from Undo.postprocessModifications, during keyframe operations.


Did you find this page useful? Please give it a rating: