Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
LightMap () | |
void | GetLight (int x, int y, out Vector3 color) |
LightMaskMode | GetMask (int x, int y) |
void | Clear () |
void | SetMaskAt (int x, int y, LightMaskMode mode) |
void | Blur () |
void | SetSize (int width, int height) |
Properties | |
int | NonVisiblePadding [get, set] |
int | Width [get, private set] |
int | Height [get, private set] |
float | LightDecayThroughAir [get, set] |
float | LightDecayThroughSolid [get, set] |
Vector3 | LightDecayThroughWater [get, set] |
Vector3 | LightDecayThroughHoney [get, set] |
Vector3 | this[int x, int y] [get, set] |
Private Member Functions | |
void | BlurPass () |
void | BlurLine (int startIndex, int endIndex, int stride) |
int | IndexOf (int x, int y) |
Private Attributes | |
Vector3[] | _colors |
LightMaskMode[] | _mask |
FastRandom | _random = FastRandom.CreateWithRandomSeed() |
Static Private Attributes | |
const int | DEFAULT_WIDTH = 203 |
const int | DEFAULT_HEIGHT = 203 |
Definition at line 7 of file LightMap.cs.