Vital.sandbox
GFXFog

gfx.fog.get_light_energy

Client

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


Syntax

local result = gfx.fog.get_light_energy()

Parameters

TypeNameDescription

Returns

TypeNameDescription
floatresultCurrent light energy value

Examples

Print current fog light energy
engine.print("info", "Fog light energy:", gfx.fog.get_light_energy())

On this page