Editare

Partajați prin


DiffuseMaterial.AmbientColor Property

Definition

Gets or sets a color that represents how the material reflects AmbientLight.

public:
 property System::Windows::Media::Color AmbientColor { System::Windows::Media::Color get(); void set(System::Windows::Media::Color value); };
public System.Windows.Media.Color AmbientColor { get; set; }
member this.AmbientColor : System.Windows.Media.Color with get, set
Public Property AmbientColor As Color

Property Value

The color of the ambient light reflected by the 3D object. The default value is #FFFFFF.

Remarks

An ambient light is lighting not attributable to the direct rays from a specific light source. In the physical world, ambient light comes from the reflection of light from surfaces in the environment. Without ambient light, objects in shadow would be completely black.

All other lights are controlled by the Color property.

Dependency Property Information

Identifier field AmbientColorProperty
Metadata properties set to true None

Applies to