tModLoader v2024.08
A mod to make and play Terraria mods
LightingEngine Class Reference

Inherits ILightingEngine.

Public Member Functions

void AddLight (int x, int y, Vector3 color)
 
void Clear ()
 
Vector3 GetColor (int x, int y)
 
void ProcessArea (Rectangle area)
 
void Rebuild ()
 
void AddLight (int x, int y, Vector3 color)
 
void Clear ()
 
Vector3 GetColor (int x, int y)
 
void ProcessArea (Rectangle area)
 
void Rebuild ()
 

Static Public Attributes

const int AREA_PADDING = 28
 

Member Function Documentation

◆ AddLight()

void LightingEngine.AddLight ( int  x,
int  y,
Vector3  color 
)

Implements ILightingEngine.

◆ Clear()

void LightingEngine.Clear ( )

Implements ILightingEngine.

◆ GetColor()

Vector3 LightingEngine.GetColor ( int  x,
int  y 
)

Implements ILightingEngine.

◆ ProcessArea()

void LightingEngine.ProcessArea ( Rectangle  area)

Implements ILightingEngine.

◆ Rebuild()

void LightingEngine.Rebuild ( )

Implements ILightingEngine.