Barotrauma Client Doc
Barotrauma.LevelObjectPrefab.SoundConfig Class Reference

Public Member Functions

 SoundConfig (ContentXElement element, int triggerIndex)
 

Public Attributes

readonly ContentXElement SoundElement
 
readonly Vector2 Position
 
readonly int TriggerIndex
 

Detailed Description

Constructor & Destructor Documentation

◆ SoundConfig()

Barotrauma.LevelObjectPrefab.SoundConfig.SoundConfig ( ContentXElement  element,
int  triggerIndex 
)

Member Data Documentation

◆ Position

readonly Vector2 Barotrauma.LevelObjectPrefab.SoundConfig.Position

◆ SoundElement

readonly ContentXElement Barotrauma.LevelObjectPrefab.SoundConfig.SoundElement

◆ TriggerIndex

readonly int Barotrauma.LevelObjectPrefab.SoundConfig.TriggerIndex