Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

AnimationUtility.PropertyModificationToEditorCurveBinding

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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.