gfx.vol_fog.get_length

Client

Retrieves the current draw length of the volumetric fog post-processing effect


Syntax

local result = gfx.vol_fog.get_length()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatresultCurrent length value

Examples

Print current volumetric fog draw length
core.engine.print("info", "Volumetric fog length:", gfx.vol_fog.get_length())

On this page