RenderStateManager.Ambient Property

Language:

Retrieves or sets the ambient light color.

Definition

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

Property Value

System.Drawing.Color
A Color Leave Site object that specifies the ambient color value to set or retrieve.

This property is read/write. 

Remarks

The default value is 0.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.