Ambient Property
The Ambient property returns or sets the Ambient light value of the light source color as an RGB value. Returns a long.
Syntax
object.Ambient
object.Ambient = Ambient
Parameter | Type | Description |
Ambient | Long | Required; grfColor |
Remarks
Use the enumeration [grfColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color.
Example
This example shows how to set the ambient color for the Surface Lighting object.
SurfLight.Ambient = grfColorBlack30
Example
This example shows how to set the ambient color for the 3D pie chart Lighting object.
PieLight.Ambient = grfColorBlack80
Used by: AutoLightingObj object