AnimationUtility

class in UnityEditor

Cambiar al Manual

Descripción

Editor utility functions for modifying animation clips.

Variables Estáticas

onCurveWasModifiedTriggered when an animation curve inside an animation clip has been modified.

Funciones Estáticas

CalculateTransformPathCalculates path from root transform to target transform.
GetAnimatableBindingsReturns all the animatable bindings that a specific game object has.
GetAnimatedObjectReturns the animated object that the binding is pointing to.
GetAnimationClipsReturns the array of Animation Clips associated with the GameObject or component.
GetAnimationEventsRetrieves all animation events associated with the animation clip.
GetCurveBindingsReturns all the float curve bindings currently stored in the clip.
GetEditorCurveReturn the float curve that the binding is pointing to.
GetFloatValueRetrieves the current float value by sampling a curve value on a specific game object.
GetKeyBrokenRetrieve the specified keyframe broken tangent flag.
GetKeyLeftTangentModeRetrieve the left tangent mode of the keyframe at specified index.
GetKeyRightTangentModeRetrieve the right tangent mode of the keyframe at specified index.
GetObjectReferenceCurveReturn the object reference curve that the binding is pointing to.
GetObjectReferenceCurveBindingsReturns all the object reference curve bindings currently stored in the clip.
SetAdditiveReferencePoseSet the additive reference pose from referenceClip at time for animation clip clip.
SetAnimationClipsSets the array of AnimationClips to be referenced in the Animation component.
SetAnimationEventsReplaces all animation events in the animation clip.
SetEditorCurveAdds, modifies or removes an editor float curve in a given clip.
SetKeyBrokenChange the specified keyframe broken tangent flag.
SetKeyLeftTangentModeChange the specified keyframe tangent mode.
SetKeyRightTangentModeChange the specified keyframe tangent mode.
SetObjectReferenceCurveAdds, modifies or removes an object reference curve in a given clip.

Delegados

OnCurveWasModifiedTriggered when an animation curve inside an animation clip has been modified.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961