gfx.fog.get_light_color

Client

Retrieves the current light color of the fog post-processing effect


Syntax

local result = gfx.fog.get_light_color()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
colorresultLight color of the fog as {r, g, b, a}

Examples

Print current fog light color
core.engine.print("info", "Fog light color:", util.table.unpack(gfx.fog.get_light_color()))

On this page