GetHeightFogDensity

From Onset Developer Wiki
GetHeightFogDensity

Type: Function
Context: Client
Introduced: v1.4.3

Description

Get the global fog density multiplier.

Syntax

GetHeightFogDensity()

Parameters

  • This function has no parameters.

Return Value

  • Returns the fog density, default: 1.0.

Example

AddEvent("OnPlayerSpawn", function()
	AddPlayerChat("Fog density: "..tostring(GetHeightFogDensity()))
end)

See also