Share via


Light.SpecularColor Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the specular color emitted by the light.

This member is a ColorValue structure.

Definition

Visual Basic Public Property SpecularColor As ColorValue
C# public ColorValue SpecularColor { get; set; }
C++ public:
property ColorValue SpecularColor {
        ColorValue get();
        void set(ColorValue value);
}
JScript public function get SpecularColor() : ColorValue
public function set SpecularColor(ColorValue);

Property Value

Microsoft.DirectX.Direct3D.ColorValue
A ColorValue structure that represents the specular color.

This property is read/write. 

Remarks

Exceptions

InvalidCallException

The property value is invalid.