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

Hierarchy

  • MusicOptions

Properties

Properties

fade?: number

Remarks

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

loop?: boolean

Remarks

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

volume?: number

Remarks

Relative volume level of the music.