Specular Property

The Specular property returns or sets the Specular light value of the light source color as an RGB value. Returns a Long.

Syntax

object.Specular

object.Specular = Specular

 

Parameter Type Description
Specular 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 specular color for a surface map lighting object.

SurfLight.Specular = grfColorBlack90

Example 2

This example shows how to set the specular color for a 3D pie chart lighting object.

PieLight.Specular = grfColorRed

 

Used by: AutoLightingObj object