Version: 2021.3
言語: 日本語

AnimationState

class in UnityEngine

マニュアルに切り替える

説明

AnimationState はアニメーションのブレンドを完全に制御します。

In most cases the Animation interface is sufficient and easier to use. Use the AnimationState if you need full control over the animation blending any playback process.

The AnimationState interface allows you to modify speed, weight, time and layers while any animation is playing. You can also setup animation mixing and wrapMode.

アニメーション

変数

blendModeブレンドモードを使用するかどうか
clipアニメーションステートによって再生されるクリップ
enabledアニメーションの有効/無効。
length秒単位のアニメーションクリップの長さ
nameアニメーション名。
normalizedSpeed正規化されたアニメーションの再生速度。
normalizedTime正規化されたアニメーションの再生時間。
speedアニメーションの再生速度。1 は通常の再生速度です。
time現在のアニメーションの再生時間。
weightアニメーションのウェイト
wrapModeアニメーションのラップモード

Public 関数

AddMixingTransformアニメーションするべき Transform を追加します。これにより作成するアニメーションの数を減らすことができます。
RemoveMixingTransformアニメーションすべき Transform を削除します。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961