Barotrauma Client Doc
|
Public Member Functions | |
Decal (DecalPrefab prefab, float scale, Vector2 worldPosition, Hull hull, int? spriteIndex=null) | |
void | Update (float deltaTime) |
void | ForceRefreshFadeTimer (float val) |
void | StopFadeIn () |
bool | AffectsSection (BackgroundSection section) |
void | Clean (float val) |
void | Draw (SpriteBatch spriteBatch, Hull hull, float depth) |
Public Attributes | |
readonly DecalPrefab | Prefab |
readonly Sprite | Sprite |
readonly float | Scale |
Properties | |
float | FadeTimer [get, set] |
float | FadeInTime [get] |
float | FadeOutTime [get] |
float | LifeTime [get] |
float | BaseAlpha = 1.0f [get, set] |
Color | Color [get, set] |
Vector2 | WorldPosition [get] |
Vector2 | CenterPosition [get] |
Vector2 | NonClampedPosition [get] |
int | SpriteIndex [get] |
Definition at line 7 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
Barotrauma.Decal.Decal | ( | DecalPrefab | prefab, |
float | scale, | ||
Vector2 | worldPosition, | ||
Hull | hull, | ||
int? | spriteIndex = null |
||
) |
Definition at line 89 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
bool Barotrauma.Decal.AffectsSection | ( | BackgroundSection | section | ) |
Definition at line 152 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
void Barotrauma.Decal.Clean | ( | float | val | ) |
Definition at line 157 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
void Barotrauma.Decal.Draw | ( | SpriteBatch | spriteBatch, |
Hull | hull, | ||
float | depth | ||
) |
Definition at line 11 of file BarotraumaClient/ClientSource/Decals/Decal.cs.
void Barotrauma.Decal.ForceRefreshFadeTimer | ( | float | val | ) |
Definition at line 140 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
void Barotrauma.Decal.StopFadeIn | ( | ) |
Definition at line 146 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
void Barotrauma.Decal.Update | ( | float | deltaTime | ) |
Definition at line 135 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
readonly DecalPrefab Barotrauma.Decal.Prefab |
Definition at line 9 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
readonly float Barotrauma.Decal.Scale |
Definition at line 83 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
readonly Sprite Barotrauma.Decal.Sprite |
Definition at line 14 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
getset |
Definition at line 37 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
get |
Definition at line 61 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
getset |
Definition at line 43 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
get |
Definition at line 22 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
get |
Definition at line 27 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
getset |
Definition at line 16 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
get |
Definition at line 32 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
get |
Definition at line 67 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
get |
Definition at line 73 of file BarotraumaShared/SharedSource/Decals/Decal.cs.
|
get |
Definition at line 49 of file BarotraumaShared/SharedSource/Decals/Decal.cs.