gfx.vol_fog.get_ambient_inject

Client

Retrieves the current ambient light injection amount of the volumetric fog post-processing effect


Syntax

local result = gfx.vol_fog.get_ambient_inject()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatresultCurrent ambient inject value

Examples

Print current volumetric fog ambient inject amount
core.engine.print("info", "Volumetric fog ambient inject:", gfx.vol_fog.get_ambient_inject())

On this page