Barotrauma Client Doc
|
Public Member Functions | |
BackgroundSection (Rectangle rect, ushort index, ushort rowIndex) | |
BackgroundSection (Rectangle rect, ushort index, float colorStrength, Color color, ushort rowIndex) | |
bool | SetColor (Color color) |
float | SetColorStrength (float colorStrength) |
bool | LerpColor (Color to, float amount) |
Color | GetStrengthAdjustedColor () |
Public Attributes | |
Rectangle | Rect |
ushort | Index |
ushort | RowIndex |
readonly Vector2 | Noise |
readonly Color | DirtColor |
Sprite | GrimeSprite |
Properties | |
float | ColorStrength [get, protected set] |
Color | Color [get, protected set] |
Definition at line 16 of file BarotraumaShared/SharedSource/Map/Hull.cs.
Barotrauma.BackgroundSection.BackgroundSection | ( | Rectangle | rect, |
ushort | index, | ||
ushort | rowIndex | ||
) |
Definition at line 48 of file BarotraumaShared/SharedSource/Map/Hull.cs.
Barotrauma.BackgroundSection.BackgroundSection | ( | Rectangle | rect, |
ushort | index, | ||
float | colorStrength, | ||
Color | color, | ||
ushort | rowIndex | ||
) |
Definition at line 65 of file BarotraumaShared/SharedSource/Map/Hull.cs.
Color Barotrauma.BackgroundSection.GetStrengthAdjustedColor | ( | ) |
Definition at line 108 of file BarotraumaShared/SharedSource/Map/Hull.cs.
bool Barotrauma.BackgroundSection.LerpColor | ( | Color | to, |
float | amount | ||
) |
Definition at line 100 of file BarotraumaShared/SharedSource/Map/Hull.cs.
bool Barotrauma.BackgroundSection.SetColor | ( | Color | color | ) |
Definition at line 85 of file BarotraumaShared/SharedSource/Map/Hull.cs.
float Barotrauma.BackgroundSection.SetColorStrength | ( | float | colorStrength | ) |
Definition at line 92 of file BarotraumaShared/SharedSource/Map/Hull.cs.
readonly Color Barotrauma.BackgroundSection.DirtColor |
Definition at line 26 of file BarotraumaShared/SharedSource/Map/Hull.cs.
Sprite Barotrauma.BackgroundSection.GrimeSprite |
Definition at line 29 of file BarotraumaShared/SharedSource/Map/Hull.cs.
ushort Barotrauma.BackgroundSection.Index |
Definition at line 19 of file BarotraumaShared/SharedSource/Map/Hull.cs.
readonly Vector2 Barotrauma.BackgroundSection.Noise |
Definition at line 25 of file BarotraumaShared/SharedSource/Map/Hull.cs.
Rectangle Barotrauma.BackgroundSection.Rect |
Definition at line 18 of file BarotraumaShared/SharedSource/Map/Hull.cs.
ushort Barotrauma.BackgroundSection.RowIndex |
Definition at line 20 of file BarotraumaShared/SharedSource/Map/Hull.cs.
|
getprotected set |
Definition at line 38 of file BarotraumaShared/SharedSource/Map/Hull.cs.
|
getprotected set |
Definition at line 32 of file BarotraumaShared/SharedSource/Map/Hull.cs.