Diffuse Property
The Diffuse property returns or sets the Diffuse light value of the light source color as an RGB value. Returns a Long.
Syntax
object.Diffuse
object.Diffuse = Diffuse
Parameter | Type | Description |
Diffuse | Long | required; grfColor |
Remarks
Use the enumeration [grfColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color.
Example 1
This example shows how to set the Diffuse property for the surface lighting object.
SurfLight.Diffuse = grfColorRed
Example 2
This example shows how to set the Diffuse property for the 3D pie chart lighting object.
PieLight.Diffuse = grfColorBlue
Used by: AutoLightingObj object