跳转到内容

AnimationTrack

此内容尚不支持你的语言。

Defined in: sdk/src/timeline/TimelineTypes.ts:268

Skeletal animation over time on one rig: clips that blend into each other where they overlap, and over the rig’s own animation (its Animator) where they ease in or out. At full weight the track decides the pose.

  • TrackBase

optional blend?: AnimationTrackBlend

Defined in: sdk/src/timeline/TimelineTypes.ts:278

How this track meets the animation tracks before it on the same rig: override (the default) leans their pose toward its own, additive adds what its clips move beyond their own first frame. The first track on a rig meets the rig’s own animation.


childPath: string

Defined in: sdk/src/timeline/TimelineTypes.ts:78

TrackBase.childPath


clips: AnimationClipItem[]

Defined in: sdk/src/timeline/TimelineTypes.ts:270


optional group?: string

Defined in: sdk/src/timeline/TimelineTypes.ts:84

The folder the Sequencer shows the track in; empty for none.

TrackBase.group


hold: boolean

Defined in: sdk/src/timeline/TimelineTypes.ts:272

Keep the last clip’s final pose after it ends, instead of handing the rig back.


optional locked?: boolean

Defined in: sdk/src/timeline/TimelineTypes.ts:82

Not editable in the Sequencer until unlocked. Playback ignores it.

TrackBase.locked


optional mask?: string[]

Defined in: sdk/src/timeline/TimelineTypes.ts:291

The parts of the rig the track may move (a mask): paths below the rig, each the subtree under it, ‘’ the whole rig. Absent moves all of it; an empty list moves nothing.


optional muted?: boolean

Defined in: sdk/src/timeline/TimelineTypes.ts:80

Left out of playback everywhere (the game, an animator state, the editor’s preview).

TrackBase.muted


name: string

Defined in: sdk/src/timeline/TimelineTypes.ts:77

TrackBase.name


optional rootMotion?: boolean

Defined in: sdk/src/timeline/TimelineTypes.ts:286

Move the rig by its clips’ root motion: each clip’s root track says how far the character travels, from where the clip before left it, instead of where it stands. Off, a clip’s root track poses the rig like any joint.


type: "animation"

Defined in: sdk/src/timeline/TimelineTypes.ts:269

TrackBase.type


optional weight?: number

Defined in: sdk/src/timeline/TimelineTypes.ts:280

How much of the track there is, 0 to 1; absent is 1.