Skip to content

Function: applySavedTrack() ​

applySavedTrack(target, t, transitionMs?): boolean

Defined in: ssplayer-core/dist/index.d.ts:5261

Lay one track on target. Above 0, transitionMs crossfades from what the track was playing; at 0 it cuts. Returns false, with a warning, for an animation the pack does not have: a tool's command can name one no editor checked.

Parameters ​

target ​

SSSavedTrackTarget

t ​

SSSavedTrack

transitionMs? ​

number

Returns ​

boolean