API

Variable SoundStateConst

SoundState: {
    FailedToStart: 4;
    Paused: 5;
    Started: 3;
    Starting: 2;
    Stopped: 1;
    Stopping: 0;
} = ...

Playback state of a sound or sound instance. Values match Babylon.js exactly.

Type Declaration

  • ReadonlyFailedToStart: 4
  • ReadonlyPaused: 5
  • ReadonlyStarted: 3
  • ReadonlyStarting: 2
  • ReadonlyStopped: 1
  • ReadonlyStopping: 0