<viz>.fogcolor

Set the color of fog

 

<viz>.fogcolor(
    [r,g,b]    

)

 

[r,g,b]

The red, green, blue component for the fog color. Values can range between 0.0 and 1.0.


Remarks

This command sets the fog color.

Return Value

None

Example

#Set Fog color to light gray
viz.fogcolor([0.8,0.8,0.8])

#Use fog
viz.fog(0.2)

See also

<viz>.fog