Share via


RenderStateManager.Ambient Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the ambient light color.

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 object that specifies the ambient color value to set or retrieve.

This property is read/write. 

Remarks

The default value is 0.