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

◆ WithVolume()

SoundStyle Terraria.Audio.SoundStyle.WithVolume ( float volume)
inlinepackage

Definition at line 309 of file SoundStyle.cs.

310 {
311 return this with
312 {
313 Volume = volume
314 };
315 }
float Volume
The volume multiplier to play sounds with.

References Terraria.Audio.SoundStyle.Volume, and Terraria.Audio.SoundStyle.volume.