@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
30 lines (29 loc) • 576 B
TypeScript
/**
* The state of a sound.
*/
export declare enum SoundState {
/**
* The sound is waiting for its instances to stop.
*/
Stopping = 0,
/**
* The sound is stopped.
*/
Stopped = 1,
/**
* The sound is waiting for its instances to start.
*/
Starting = 2,
/**
* The sound has started playing.
*/
Started = 3,
/**
* The sound failed to start, most likely due to the user not interacting with the page, yet.
*/
FailedToStart = 4,
/**
* The sound is paused.
*/
Paused = 5
}