terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.Graphics.Light.LegacyLighting Class Reference
+ Inheritance diagram for Terraria.Graphics.Light.LegacyLighting:
+ Collaboration diagram for Terraria.Graphics.Light.LegacyLighting:

Classes

class  ColorTriplet
 

Public Member Functions

 LegacyLighting (Camera camera)
 
LightMap GetLightMap (out Rectangle lightMapRegion)
 
Vector3 GetColor (int x, int y)
 
void Rebuild ()
 
void AddLight (int x, int y, Vector3 color)
 
void ProcessArea (Rectangle area)
 
Rectangle GetScanRegion ()
 
void Clear ()
 

Static Public Attributes

static int RenderPhases
 

Properties

int Mode [get, set]
 
bool IsColorOrWhiteMode [get, set]
 

Private Member Functions

unsafe void ExportToMiniMap ()
 
void UpdateLightToSkyColor (float tileR, float tileG, float tileB)
 
void Present ()
 
void PreRenderPhase (Rectangle area)
 
void UpdateLightDecay ()
 
void DoColors ()
 

Static Private Member Functions

static LegacyLighting ()
 

Private Attributes

float _oldSkyColor
 
float _skyColor
 
LightMap _activeLightMap
 
Rectangle _activeProcessedArea
 
LightMap _workingLightMap
 
Rectangle _workingProcessedArea
 
TileLightScanner _tileScanner
 
readonly Camera _camera
 
int< Modek__BackingField
 
Rectangle screenRegionScan
 

Static Private Attributes

static short tempLightOffset
 
static List< LegacyLighting.ColorTriplettempLightData
 
static Dictionary< int, short > tempLights
 
const int AREA_PADDING = 20
 
const int NON_VISIBLE_PADDING = 0
 
const int MAX_TEMP_LIGHTS = 2000
 

Detailed Description

Definition at line 14 of file LegacyLighting.cs.


The documentation for this class was generated from the following file: