Share via


Light.AmbientColor Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the ambient color emitted by the light.

This member is a ColorValue structure.

Definition

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

Property Value

Microsoft.DirectX.Direct3D.ColorValue
ColorValue structure that represents the ambient color emitted by the light.

This property is read/write. 

Remarks

Exceptions

InvalidCallException

The property value is invalid.