RenderStateManager.Ambient Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets the ambient light color.

Definition

Visual Basic .NET Public Property Ambient As Color
C# public Color Ambient { get; set; }
Managed C++ public: __property Color get_Ambient();
public: __property void set_Ambient(Color);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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