Version: 2021.3
言語: 日本語

AnimationUtility

class in UnityEditor

マニュアルに切り替える

説明

AnimationClip を変更するための Editor ユーティリティ関数

Static 変数

onCurveWasModifiedCalled when an animation curve, in an animation clip, is modified.

Static 関数

CalculateTransformPathRetrieves the path from the root transform to the target transform.
GetAnimatableBindingsRetrieves the animatable bindings for a specific GameObject.
GetAnimatedObjectRetrieves the animated object that the binding points to.
GetAnimationClipsRetrieves an array of animation clips associated with a GameObject or component.
GetAnimationEventsRetrieves all animation events associated with an animation clip.
GetCurveBindingsRetrieves the float curve bindings in an animation clip.
GetEditorCurveRetrieves the float curve that the binding points to.
GetFloatValueRetrieves the current float value by sampling a curve value on a specific GameObject.
GetKeyBrokenRetrieves the broken tangent flag for a specfic keyframe.
GetKeyLeftTangentModeRetrieves the left tangent mode of the keyframe at a specific index.
GetKeyRightTangentModeRetrieves the right tangent mode of the keyframe at a specific index.
GetObjectReferenceCurveRetrieves the object reference curve that the binding points to.
GetObjectReferenceCurveBindingsRetrieves the object reference curve bindings stored in the animation clip.
SetAdditiveReferencePoseSets the additive reference pose from referenceClip at time for animation clip clip.
SetAnimationClipsSets the array of animation clips to be referenced in the Animation component.
SetAnimationEventsアニメーションクリップのすべてのアニメーションイベントをリプレースします
SetEditorCurveAdds, modifies, or removes an editor float curve in an animation clip.
SetEditorCurvesAdds, modifies, or removes multiple editor float curves in an animation clip.
SetKeyBroken指定したキーフレームの壊れた接線フラグを変更します。
SetKeyLeftTangentMode指定したキーフレームの接線モードを変更します。
SetKeyRightTangentMode指定したキーフレームの接線モードを変更します。
SetObjectReferenceCurveAdds, modifies, or removes an object reference curve in an animation clip.
SetObjectReferenceCurvesAdds, modifies, or removes object references curve in an animation clip.

デリゲート

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