GetHeightFogDensity

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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