Barotrauma Client Doc
Barotrauma.RoundSound Class Reference

Public Member Functions

float GetRandomFrequencyMultiplier ()
 

Static Public Member Functions

static ? RoundSound Load (ContentXElement element, bool stream=false)
 
static void Reload (RoundSound roundSound)
 
static void RemoveAllRoundSounds ()
 

Public Attributes

SoundSound
 
readonly float Volume
 
readonly float Range
 
readonly Vector2 FrequencyMultiplierRange
 
readonly bool Stream
 
readonly bool IgnoreMuffling
 
readonly? string Filename
 

Detailed Description

Definition at line 10 of file RoundSound.cs.

Member Function Documentation

◆ GetRandomFrequencyMultiplier()

float Barotrauma.RoundSound.GetRandomFrequencyMultiplier ( )

Definition at line 53 of file RoundSound.cs.

◆ Load()

static ? RoundSound Barotrauma.RoundSound.Load ( ContentXElement  element,
bool  stream = false 
)
static

Definition at line 60 of file RoundSound.cs.

◆ Reload()

static void Barotrauma.RoundSound.Reload ( RoundSound  roundSound)
static

Definition at line 117 of file RoundSound.cs.

◆ RemoveAllRoundSounds()

static void Barotrauma.RoundSound.RemoveAllRoundSounds ( )
static

Definition at line 138 of file RoundSound.cs.

Member Data Documentation

◆ Filename

readonly? string Barotrauma.RoundSound.Filename

Definition at line 19 of file RoundSound.cs.

◆ FrequencyMultiplierRange

readonly Vector2 Barotrauma.RoundSound.FrequencyMultiplierRange

Definition at line 15 of file RoundSound.cs.

◆ IgnoreMuffling

readonly bool Barotrauma.RoundSound.IgnoreMuffling

Definition at line 17 of file RoundSound.cs.

◆ Range

readonly float Barotrauma.RoundSound.Range

Definition at line 14 of file RoundSound.cs.

◆ Sound

Sound? Barotrauma.RoundSound.Sound

Definition at line 12 of file RoundSound.cs.

◆ Stream

readonly bool Barotrauma.RoundSound.Stream

Definition at line 16 of file RoundSound.cs.

◆ Volume

readonly float Barotrauma.RoundSound.Volume

Definition at line 13 of file RoundSound.cs.