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
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | result | Current light energy value |
Examples
engine.print("info", "Fog light energy:", gfx.fog.get_light_energy())