TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ WithVolumeScale()

SoundStyle Terraria.Audio.SoundStyle.WithVolumeScale ( float scale)
inline

Definition at line 325 of file SoundStyle.cs.

326 {
327 return this with
328 {
329 Volume = Volume * scale
330 };
331 }
float Volume
The volume multiplier to play sounds with.

References Terraria.Audio.SoundStyle.Volume.