Interface: TrackMemory
Defined in: src/interfaces/TrackMemory.ts:3
Extends
Omit<Pick<TrackEntry,"loop"|"trackIndex"|"delay">,"animation">
Properties
animationName
> animationName: string
Defined in: src/interfaces/TrackMemory.ts:5
delay
> delay: number
Defined in: node_modules/@esotericsoftware/spine-core/dist/AnimationState.d.ts:264
Seconds to postpone playing the animation. Must be >= 0. When this track entry is the current track entry,
delay postpones incrementing the trackTime. When this track entry is queued, delay is
the time from the start of the previous animation to when this track entry will become the current track entry (ie when
the previous track entry trackTime >= this track entry's delay).
timeScale affects the delay.
When passing delay <= 0 to AnimationState.addAnimation this
delay is set using a mix duration from AnimationStateData. To change the mixDuration
afterward, use setMixDuration so this delay is adjusted.
Inherited from
Omit.delay
loop
> loop: boolean
Defined in: node_modules/@esotericsoftware/spine-core/dist/AnimationState.d.ts:208
If true, the animation will repeat. If false it will not, instead its last frame is applied if played beyond its duration.
Inherited from
Omit.loop
trackIndex
> trackIndex: number
Defined in: node_modules/@esotericsoftware/spine-core/dist/AnimationState.d.ts:205
The index of the track where this track entry is either current or queued.
See AnimationState.getTrack.
Inherited from
Omit.trackIndex