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