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

◆ AddLight() [4/5]

static void Terraria.Lighting.AddLight ( Vector2 position,
int torchID )
inlinestatic

Definition at line 211 of file Lighting.cs.

212 {
213 //IL_000c: Unknown result type (might be due to invalid IL or missing references)
214 //IL_0016: Unknown result type (might be due to invalid IL or missing references)
216 AddLight((int)position.X / 16, (int)position.Y / 16, R, G, B);
217 }
static void TorchColor(int torchID, out float R, out float G, out float B)
Definition TorchID.cs:164
static void AddLight(Vector2 position, Vector3 rgb)
Adds light to the world at the specified coordinates.
Definition Lighting.cs:177

References Terraria.Lighting.AddLight(), and Terraria.ID.TorchID.TorchColor().

+ Here is the call graph for this function: