Vital.sandbox
GFXFog

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

TypeNameDescription

Returns

TypeNameDescription
floatresultCurrent sun scatter value

Examples

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

On this page