Partager via


Material.Ambient Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a value that specifies the ambient 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 represents the ambient color.

This property is read/write.