gfx.fog.get_sun_scatter

Client

Retrieves the current sun scatter amount of the fog post-processing effect


Syntax

local result = gfx.fog.get_sun_scatter()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatresultCurrent sun scatter value

Examples

Print current fog sun scatter amount
core.engine.print("info", "Fog sun scatter:", gfx.fog.get_sun_scatter())

On this page