Documentation

Unity Engine

Download Unity

Unity Engine

PropertyModificationToEditorCurveBinding(PropertyModification, GameObject, out EditorCurveBinding)

Use this method to convert a PropertyModification to an EditorCurveBinding.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

PropertyModificationToEditorCurveBinding(PropertyModification, GameObject, EditorCurveBinding)

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

Parameters

The PropertyModification to be converted.

gameObject

The root game object of the animated hierarchy.

Returns

Type

Description

TypeThe type of the animated value.

Remarks

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