Light.Ambient Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the ambient color emitted by the light.

This member is a ColorLeave Site structure.

Definition

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

Property Value

System.Drawing.Color
A ColorLeave Site structure that represents the ambient color emitted by the light.

This property is read/write. 

Remarks

Exceptions

InvalidCallException

The property value is invalid.