Data for the SoundMessages.play_sound
message and Sound.play
method.
@:optionaloptionalplay_id:Null<Int>
The identifier of the sound, can be used to distinguish between consecutive plays from the same component.
@:optionaloptionalgain:Null<Float>
Sound gain between 0 and 1, default is 1.
The final gain of the sound will be a combination of this gain, the group gain and the master gain.
@:optionaloptionaldelay:Null<Float>
Delay in seconds before the sound starts playing, default is 0.