Skip to content

AnimationClipItem

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

One animation clip on an animation track: a skeletal animation (an .estimeline of joint curves, as a model import writes them) played on the track’s rig from start for duration seconds.

clip: string

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

The animation it plays, by asset ref.


clipIn: number

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

Seconds into the animation the clip starts from.


duration: number

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


easeIn: number

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

Seconds the clip takes to blend in from what the rig was doing, and to blend back out. Where two clips overlap, the overlap is the crossfade instead.


easeOut: number

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


loop: boolean

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

Repeat the animation to fill the clip instead of holding its last frame.


optional postExtrapolation?: AnimationExtrapolation

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

What the clip plays after it ends, until the next clip; absent is none.


optional preExtrapolation?: AnimationExtrapolation

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

What the clip plays before it starts, when it is the track’s first; absent is none.


speed: number

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


start: number

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