<scene>.fogColor

Set the color of fog

 

<scene>.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.Scene1.fogColor([0.8,0.8,0.8])


#Use fog
viz.Scene1.fog(0.2)