GFXVolumetric Fog
gfx.volumetric_fog.get_density
Client
Retrieves the current density of the volumetric fog post-processing effect
Syntax
local result = gfx.volumetric_fog.get_density()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | result | Current density value |
Examples
engine.print("info", "Volumetric fog density:", gfx.volumetric_fog.get_density())