pixi-reels

API reference

OneShotEnd

pixi-reels


pixi-reels / spine / OneShotEnd

type OneShotEnd = "idle" | "hold" | "clear";

Defined in: spine/SpineReelSymbol.ts:91

What a one-shot leaves on its track once it completes. See SpineReelSymbol.playOneShot.

  • 'idle': the idle loop, the way playWin() and playLanding() end.
  • 'hold': the last frame, the way playOut() ends, so a disintegrated symbol stays gone.
  • 'clear': nothing. The track is emptied (mixed out over the state’s defaultMix) and the tracks under it show through: the end for an overlay on track 1 and up.