Light.DiffuseColor Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the diffuse color emitted by the light.

This member is a ColorValue structure.

Definition

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

Property Value

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

This property is read/write. 

Remarks

Exceptions

InvalidCallException

The property value is invalid.