SetFogDensity

Definition

SetFogDensity(float density)

Description

This function sets the fog density.

Parameters

density
Specifies the fog density. This value must be greater than 0.0.

Example

function Init()
    SetFogDensity(0.5)
end

function Update()

end
In this example, we set the fog density to 0.5.
adminSetFogDensity