Vital.sandbox
GFXFog

gfx.fog.get_sky_affect

Client

Retrieves the current sky influence amount of the fog post-processing effect


Syntax

local result = gfx.fog.get_sky_affect()

Parameters

TypeNameDescription

Returns

TypeNameDescription
floatresultCurrent sky influence value

Examples

Print current fog sky influence amount
engine.print("info", "Fog sky affect:", gfx.fog.get_sky_affect())

On this page