C4 Engine
C4 Engine API Documentation

FogSpaceObject::SetFogDensity

Defined in:  C4SpaceObjects.h
Sets the fog density.
Prototype

void SetFogDensity(float density);

Parameters
density The new fog density.
Description
The SetFogDensity function sets the fog density to the value specified by the density parameter. See the FogSpaceObject::SetFogFunction function for a description of how the density is used in calculating fog effects.
See Also

FogSpaceObject::GetFogDensity