Vizard 7 » Command Index » Vizard modules » vizfx » <vizfx>.setAmbientColor
7.7

<vizfx>.setAmbientColor

Set the global ambient color

<vizfx>.setAmbientColor(  
color # [r,g,b]
)  
color
The ambient color

Remarks

Set the default global ambient color. The default ambient color is gray (0.5, 0.5, 0.5).

Return Value

None

Example

# Set ambient color to black (effectively disabled)
vizfx.setAmbientColor(viz.BLACK)

See also

<vizfx>.getAmbientColor