GetHeightFogDensity: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.4.3}} {{FuncDescription|Get the global fog density multiplier.}} {{FuncSyntax|GetHeightFogDensity()}} {{FuncParameters}} {{FuncNoParam}} {{FuncRet..."
 
(No difference)

Latest revision as of 17:41, 11 February 2021

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