Skip to main content

Interface: MusicOptions

Additional configuration options for World.playMusic/World.queueMusic methods.

Properties

fade?

optional fade: number

Remarks

Specifies a fade overlap for music at the end of play.


loop?

optional loop: boolean

Remarks

If set to true, this music track will play repeatedly.


volume?

optional volume: number

Remarks

Relative volume level of the music.