Share via


Light.Diffuse Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the diffuse color emitted by the light.

This member is a ColorLeave Site structure.

Definition

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

Property Value

System.Drawing.Color
A ColorLeave Site structure that represents the diffuse color.

This property is read/write. 

Remarks

Exceptions

InvalidCallException

The property value is invalid.