Partager via


Material.AmbientColor Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the ambient ColorValue.

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
A ColorValue structure to set or retrieve.

This property is read/write.