gfx.fog.set_height

Client

Sets the height threshold of the fog post-processing effect


Syntax

local status = gfx.fog.set_height(
    value
)

Parameters

TypeNameDescription
floatvalueHeight value to apply
Sets the world-space Y position at which the height fog effect begins

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set the height at which fog begins
gfx.fog.set_height(0.0)

On this page