SpecularLightColor Property

The SpecularLightColor property returns or sets the specular light color of a surface. Returns an SrfColor value.

Syntax

object.SpecularLightColor

object. SpecularLightColor = Color

Parameter

Type

Description

Color

srfColor

required

Remarks

Use the enumeration [srfColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color.

Example 1

This example shows how to return the specular light color number.

Debug.Print "Specular light color = "; MapFrame4surface.SpecularLightColor

Example 2

This example shows how to set the specular light color.

MapFrame4surface.SpecularLightColor = RGB(255,255,255)

Used by: MapFrame object

See Also

Lighting Page - 3D Surface