AmbientColor Property
Collapse the table of content
Expand the table of content

DiffuseMaterial.AmbientColor Property


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

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public Color AmbientColor { get; set; }

Property Value

Type: System.Windows.Media.Color

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

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.

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft