SetHeightFogDensity

From Onset Developer Wiki
SetHeightFogDensity

Type: Function
Context: Client
Introduced: v1.4.3

Description

Set global fog density multiplier.

Syntax

SetHeightFogDensity(density)

Parameters

  • density
    The fog density multiplier, default: 1.0

Return Value

  • Returns true.

Example

AddEvent("OnPlayerSpawn", function()
	SetHeightFogDensity(0.0) -- Disable fog
end)

See also