GFXFog
gfx.fog.get_light_color
Client
Retrieves the current light color of the fog post-processing effect
Syntax
local color = gfx.fog.get_light_color()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
color | color | Light color of the fog as {r, g, b, a} |
Examples
local color = gfx.fog.get_light_color()
engine.print("info", "Fog light color:", color[1], color[2], color[3], color[4])