AmbientLightColor Property

3D Graph Control

AmbientLightColor Property

Syntax

CWGraph3D.AmbientLightColor

Data Type

Color

Purpose

Specifies the ambient light color for the graph.

Remarks

You must set Lighting to True before you can set the ambient light color.

Example

'Enable Lighting
CWGraph3D1.Lighting = True
'Set the ambient light color to yellow
CWGraph3D1.AmbientLightColor = vbYellow

See Also

Lighting

Lights

Rotating, Panning, and Zooming (concept)