AudioService.SetMusicTrackVolume(float) Method
Definition¶
Namespace: Brine2D.Audio
Sets the per-track volume multiplier for the current music track. The final music gain is MusicVolume × volume. Does nothing during a crossfade (the crossfade drives gains directly).
public void SetMusicTrackVolume(float volume);
Parameters¶
volume System.Single
Volume multiplier (0.0 to 1.0, default 1.0). Values are clamped.
Implements SetMusicTrackVolume(float)