C3DCamera::SetFogColor

Top  Previous  Next

Syntax:
 
SetFogColor(int  r, int  g, int  b)
 
Purpose:
Set the color of fog, if enabled for the camera.
 
Parameters:
r, g, b - The new fog color.  Values range from 0 to 255
 
Returned value(s):
None
 
Application:

cam1.SetFogColor(0,0,255)
cam1.SetFogRange(14,400)

 
Additional Info:
The default fog color is white 255, 255, 255
 
See Also:

EnableFog, SetFogRange