Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ProcessScan()

void Terraria.Graphics.Light.LightingEngine.ProcessScan ( Rectangle area)
inlineprivate

Definition at line 123 of file LightingEngine.cs.

124 {
125 area.Inflate(28, 28);
127 _workingLightMap.SetSize(area.Width, area.Height);
128 _workingLightMap.NonVisiblePadding = 18;
130 _tileScanner.ExportTo(area, _workingLightMap, new TileLightScannerOptions
131 {
132 DrawInvisibleWalls = Main.ShouldShowInvisibleWalls()
133 });
134 }
void SetSize(int width, int height)
Definition LightMap.cs:244
void ExportTo(Rectangle area, LightMap outputMap, TileLightScannerOptions options)

References Terraria.Graphics.Light.LightingEngine._tileScanner, Terraria.Graphics.Light.LightingEngine._workingLightMap, Terraria.Graphics.Light.LightingEngine._workingProcessedArea, Terraria.Graphics.Light.TileLightScanner.ExportTo(), Terraria.Graphics.Light.LightMap.SetSize(), Terraria.Main.ShouldShowInvisibleWalls(), and Terraria.Graphics.Light.TileLightScanner.Update().

Referenced by Terraria.Graphics.Light.LightingEngine.ProcessArea().