Light.DiffuseColor Property

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center