GetHeightFogDensity

From Onset Developer Wiki
Revision as of 17:41, 11 February 2021 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Client|1.4.3}} {{FuncDescription|Get the global fog density multiplier.}} {{FuncSyntax|GetHeightFogDensity()}} {{FuncParameters}} {{FuncNoParam}} {{FuncRet...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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