Additional parameters for FunkinSound.playMusic()

Fields

@:optionaloptionalsuffix:Null<String>

* The suffix of the music file to play. Usually for "-erect" tracks when loading an INST file * @default ``

@:optionaloptionalstartingVolume:Null<Float>

* The volume you want the music to start at. * @default `1.0`

@:optionaloptionalrestartTrack:Null<Bool>

* Whether to override music if the same track is already playing. * @default `false`

@:optionaloptionalpersist:Null<Bool>

* Whether the sound should be destroyed on state switches

@:optionaloptionalpathsFunction:Null<PathsFunction>

* Which Paths function to use to load a song * @default `MUSIC`

@:optionaloptionalpartialParams:Null<PartialSoundParams>

@:optionaloptionaloverrideExisting:Null<Bool>

* Whether to override music if a different track is already playing. * @default `false`

@:optionaloptionalonLoad:Null<() ‑> Void>

@:optionaloptionalonComplete:Null<() ‑> Void>

@:optionaloptionalmapTimeChanges:Null<Bool>

* Whether to check for `SongMusicData` to update the Conductor with. * @default `true`

@:optionaloptionalloop:Null<Bool>

* Whether the music should loop or play once. * @default `true`