Barotrauma Client Doc
Barotrauma.DecalPrefab Class Reference
Inheritance diagram for Barotrauma.DecalPrefab:
Barotrauma.PrefabWithUintIdentifier Barotrauma.Prefab

Public Member Functions

override void Dispose ()
 
 DecalPrefab (ContentXElement element, DecalsFile file)
 
- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 

Public Attributes

readonly List< SpriteSprites
 
readonly Color Color
 
readonly float LifeTime
 
readonly float FadeOutTime
 
readonly float FadeInTime
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 

Properties

string Name [get]
 
- Properties inherited from Barotrauma.PrefabWithUintIdentifier
UInt32 UintIdentifier [get, set]
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 
- Protected Member Functions inherited from Barotrauma.PrefabWithUintIdentifier
 PrefabWithUintIdentifier (ContentFile file, Identifier identifier)
 
 PrefabWithUintIdentifier (ContentFile file, ContentXElement element)
 
- Protected Member Functions inherited from Barotrauma.Prefab
virtual Identifier DetermineIdentifier (XElement element)
 

Detailed Description

Definition at line 8 of file DecalPrefab.cs.

Constructor & Destructor Documentation

◆ DecalPrefab()

Barotrauma.DecalPrefab.DecalPrefab ( ContentXElement  element,
DecalsFile  file 
)

Definition at line 29 of file DecalPrefab.cs.

Member Function Documentation

◆ Dispose()

override void Barotrauma.DecalPrefab.Dispose ( )
virtual

Implements Barotrauma.Prefab.

Definition at line 12 of file DecalPrefab.cs.

Member Data Documentation

◆ Color

readonly Color Barotrauma.DecalPrefab.Color

Definition at line 23 of file DecalPrefab.cs.

◆ FadeInTime

readonly float Barotrauma.DecalPrefab.FadeInTime

Definition at line 27 of file DecalPrefab.cs.

◆ FadeOutTime

readonly float Barotrauma.DecalPrefab.FadeOutTime

Definition at line 26 of file DecalPrefab.cs.

◆ LifeTime

readonly float Barotrauma.DecalPrefab.LifeTime

Definition at line 25 of file DecalPrefab.cs.

◆ Sprites

readonly List<Sprite> Barotrauma.DecalPrefab.Sprites

Definition at line 21 of file DecalPrefab.cs.

Property Documentation

◆ Name

string Barotrauma.DecalPrefab.Name
get

Definition at line 10 of file DecalPrefab.cs.