Version: 2018.4

AnimationTrack

class in UnityEngine.Timeline

/

継承:Timeline.TrackAsset

マニュアルに切り替える

説明

Animator のアニメーションを再生するために使用する Timeline のトラック。

変数

applyAvatarMaskSpecifies whether to apply the AvatarMask to the track.
avatarMaskSpecifies an AvatarMask to be applied.
eulerAnglesThe euler angle representation of the root motion rotation offset of the entire track.
inClipModeAnimation Track にはクリップがあるか、または、Animation Track は無限モードかを指定します。
matchTargetFieldsクリップのルートモーションオフセットを整列するときに、どのフィールドを一致させるかを特定します。
openClipOffsetEulerAnglesThe euler angle representation of the root motion rotation offset of the track when in infinite mode.
openClipOffsetPosition無限モードのトラックのルートモーション位置のオフセットを表します。
openClipOffsetRotation無限モードのトラックのルートモーション回転のオフセットを表します。
positionトラック全体のルートモーション位置のオフセット。
rotationトラック全体のルートモーション回転のオフセット。
trackOffsetSpecifies what is used to set the starting position and orientation of an Animation Track.

Public 関数

CreateClip AnimationClip を使って TimelineClip を作成します。
CreateRecordableClipCreates a TimelineClip, AnimationPlayableAsset and an AnimationClip. Use this clip to record in a timeline.

継承メンバー

変数

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameオブジェクト名
durationThe playback duration in seconds of the instantiated Playable.
outputsインスタンス化した Playable の出力の説明。
isEmptyこのトラックにクリップが含まれているか。
isSubTrackこのトラックはサブトラックか。
lockedThe local locked state of the track.
lockedInHierarchyThe locked state of a track. (Read Only)
mutedトラックをミュートし、作成した PlayableGraph から除外します。
outputsインスタンス化した Playable の出力の説明。
parentトラックの所有者。
timelineAssetこのトラックが属する TimelineAsset。

Public 関数

GetInstanceIDオブジェクトのインスタンス ID を返します
ToStringReturns the name of the GameObject.
CreatePlayableImplement this method to have your asset inject playables into the given graph.
CreateClipCreates a clip on the track with a custom playable asset attached, whose type is specified by T. Throws an InvalidOperationException if the specified type is not supported by the track.
CreateDefaultClipトラックのデフォルトクリップを作成します。クリップのアセット種類はそのトラックを作成する TrackClipTypeAttribute に基づきます。
CreateTrackMixerトラックのクリップによって生成された Playable のブレンドに使用するミキサーを作成します。
GetChildTracksサブトラック、または、トラックに設定された子トラックのリスト。
GetClipsトラックが所有するクリップのリストを返します。

Protected 関数

OnAfterTrackDeserializeOverride this method to receive a callback after Unity deserializes your track.
OnBeforeTrackSerializeOverride this method to receive a callback before Unity serializes your track.
OnCreateClipCalled when a clip is created on a track. Use this method to set default values on a timeline clip, or on it's PlayableAsset.

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 のオブジェクトをクローンします
CreateInstanceScriptableObject のインスタンスを作成します。

Operator

boolオブジェクトが存在するかどうか
operator !=二つのオブジェクトが異なるオブジェクトを参照しているか比較します
operator ==2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。

メッセージ

Awake ScriptableObject スクリプトを開始するとき、この関数は呼び出されます。
OnDestroyScriptableObject が破棄されるとき、この関数は呼び出されます。
OnDisableScriptableObject クラスのオブジェクトがスコープを外れるとき、この関数は呼び出されます。
OnEnableオブジェクトがロードされたとき、この関数は呼び出されます。