表示テーマ
AnimationStateSettings
AnimationStateSettingsは、Animationの個別設定をまとめる型です。取得元の設定から値を編集し、所有するComponentへ反映します。
型の情報
- 名前空間:
NEMEngine - 型:
NEMEngine.AnimationStateSettings(Class) - 継承元:NEMEngine.SettingsObject
additive
csharp
public bool additive基準値に対してAnimationの差分を加算します。
操作:読取・変更。
clip
csharp
public AnimationClip? clip再生するAssetまたはClip名です。Asset欄では対応する種類を指定します。
操作:読取・変更。
interval
csharp
public float interval再生を繰り返す間の待ち時間です。単位は秒です。
操作:読取・変更。
loopBridgeDuration
csharp
public float loopBridgeDurationループ末尾から先頭へつなぐ補間秒数です。
操作:読取・変更。
loopBridgeEnabled
csharp
public bool loopBridgeEnabledループ末尾と先頭の補間を使います。
操作:読取・変更。
loopBridgeInterpolation
csharp
public CurveInterpolationMode loopBridgeInterpolationループ接続の補間方式です。
操作:読取・変更。
loopCount
csharp
public int loopCount繰り返す回数です。無限と有限の扱いはLoopTypeまたはWrapModeと合わせて指定します。
操作:読取・変更。
name
csharp
public string name対象や設定を識別する名前です。
操作:読取・変更。
pingPongCount
csharp
public int pingPongCount往復再生の繰り返し回数です。
操作:読取・変更。
priority
csharp
public int priority適用・合成・選択の優先順位です。
操作:読取・変更。
relativeTransform
csharp
public bool relativeTransform開始時のTransformを基準にAnimationの値を適用します。
操作:読取・変更。
speed
csharp
public float speed移動または再生の速さです。
操作:読取・変更。
startDelay
csharp
public float startDelay再生を始めるまでの待ち秒数です。
操作:読取・変更。
weight
csharp
public float weightAnimation合成時の寄与率です。
操作:読取・変更。
wrapMode
csharp
public AnimationWrapMode wrapMode末尾到達時の停止・ループ・往復などの扱いです。
操作:読取・変更。
実行時の扱い
Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。