tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Graphics.Light.LightingEngine Class Reference

Inherits Terraria.Graphics.Light.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 Terraria.Graphics.Light.LightingEngine.AddLight ( int  x,
int  y,
Vector3  color 
)

◆ Clear()

void Terraria.Graphics.Light.LightingEngine.Clear ( )

◆ GetColor()

Vector3 Terraria.Graphics.Light.LightingEngine.GetColor ( int  x,
int  y 
)

◆ ProcessArea()

void Terraria.Graphics.Light.LightingEngine.ProcessArea ( Rectangle  area)

◆ Rebuild()

void Terraria.Graphics.Light.LightingEngine.Rebuild ( )