Vital.sandbox
GFXFog

gfx.fog.get_height

Client

Retrieves the current height threshold of the fog post-processing effect


Syntax

local result = gfx.fog.get_height()

Parameters

TypeNameDescription

Returns

TypeNameDescription
floatresultCurrent height value

Examples

Print current fog height threshold
engine.print("info", "Fog height:", gfx.fog.get_height())

On this page