Version: 2019.1

AnimationClip

class in UnityEngine

/

継承:Motion

マニュアルに切り替える

説明

キーフレームベースのアニメーションを保存します。

AnimationClip は Animation でアニメーションの再生に使用されます。

変数

emptyReturns true if the animation clip has no curves and no events.
eventsアニメーションクリップのアニメーションイベント
frameRateキーフレームがサンプリングされるときのフレームレート(読み取り専用)。
hasGenericRootTransformReturns true if the Animation has animation on the root transform.
hasMotionCurvesReturns true if the AnimationClip has root motion curves.
hasMotionFloatCurvesReturns true if the AnimationClip has editor curves for its root motion.
hasRootCurvesReturns true if the AnimationClip has root Curves.
humanMotionHumanoid リグを動かすアニメーションカーブが含まれる場合、true を返します。
legacyAnimationClip を( Animator の代わりに)旧 Animation コンポーネントで使用する場合は true にします。
lengthアニメーションの再生時間(読み取り専用)。
localBoundsローカル空間にあるアニメーションクリップの AABB をアタッチします。
wrapModeアニメーションの状態で使用されるデフォルトのラップモードを設定します。

コンストラクタ

AnimationClip新規アニメーションクリップを作成します。

Public 関数

AddEventクリップにアニメーションイベントを追加する
ClearCurvesクリップからすべてのカーブを削除する。
EnsureQuaternionContinuityRealigns quaternion keys to ensure shortest interpolation paths.
SampleAnimationアニメーションのプロパティーに時間を与えてアニメーションのサンプリングを行います
SetCurve特定のプロパティーのアニメーションカーブを割り当てます。

継承メンバー

変数

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameオブジェクト名

Public 関数

GetInstanceIDオブジェクトのインスタンス ID を返します
ToStringReturns the name of the GameObject.

Static 関数

Destroyゲームオブジェクトやコンポーネント、アセットを削除します
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeタイプ type から最初に見つけたアクティブのオブジェクトを返します
FindObjectsOfTypeタイプから見つけたすべてのアクティブのオブジェクト配列を返します
Instantiateoriginal のオブジェクトをクローンします

Operator

boolオブジェクトが存在するかどうか
operator !=二つのオブジェクトが異なるオブジェクトを参照しているか比較します
operator ==2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961