C# Class UnityEditorInternal.AnimationRecording

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Process ( IAnimationRecordingState state, UndoPropertyModification modifications ) : UnityEditor.UndoPropertyModification[]
SaveModifiedCurve ( AnimationWindowCurve curve, AnimationClip clip ) : void

Private Methods

Method Description
AddKey ( IAnimationRecordingState state, EditorCurveBinding binding, Type type, PropertyModification modification ) : void
AddRotationKey ( IAnimationRecordingState state, EditorCurveBinding binding, Type type, Vector3 previousEulerAngles, Vector3 currentEulerAngles ) : void
AddRotationPropertyModification ( IAnimationRecordingState state, EditorCurveBinding baseBinding, UndoPropertyModification modification ) : void
CollectRotationModifications ( IAnimationRecordingState state, UndoPropertyModification &modifications, RotationModification>.Dictionary &rotationModifications ) : void
FindPropertyModification ( GameObject root, UndoPropertyModification modifications, EditorCurveBinding binding ) : PropertyModification
HasAnyRecordableModifications ( GameObject root, UndoPropertyModification modifications ) : bool
ProcessRotationModifications ( IAnimationRecordingState state, UndoPropertyModification &modifications ) : void

Method Details

Process() public static method

public static Process ( IAnimationRecordingState state, UndoPropertyModification modifications ) : UnityEditor.UndoPropertyModification[]
state IAnimationRecordingState
modifications UnityEditor.UndoPropertyModification
return UnityEditor.UndoPropertyModification[]

SaveModifiedCurve() public static method

public static SaveModifiedCurve ( AnimationWindowCurve curve, AnimationClip clip ) : void
curve AnimationWindowCurve
clip UnityEngine.AnimationClip
return void