Share via


RenderStateManager.AmbientColor Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the ambient light color.

Definition

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

Property Value

System.Int32
An Int32Leave Site that specifies the ambient color value to set or retrieve.

This property is read/write. 

Remarks

The default value is 0.