C4 Engine
C4 Engine API Documentation

FogSpaceObject::GetFogFunction

Defined in:  C4SpaceObjects.h
Returns the fog function.
Prototype

FogFunction GetFogFunction(voidconst;

Description
The GetFogFunction function returns the fog function, which can be one of the following constants.
kFogFunctionConstant Use constant fog density.
kFogFunctionLinear Use linearly increasing fog density.
See the FogSpaceObject::SetFogFunction function for a description of how fog functions are used in calculating fog effects.
See Also

FogSpaceObject::SetFogFunction