Vital.sandbox
GFXFog

gfx.fog.get_aerial_perspective

Client

Retrieves the current aerial perspective blend amount of the fog post-processing effect


Syntax

local result = gfx.fog.get_aerial_perspective()

Parameters

TypeNameDescription

Returns

TypeNameDescription
floatresultCurrent aerial perspective value

Examples

Print current fog aerial perspective
engine.print("info", "Fog aerial perspective:", gfx.fog.get_aerial_perspective())

On this page