Export (0) Print
Expand All

AmbientLight Constructor

Initializes a new instance of the AmbientLight class.

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

public AmbientLight()

The following example creates an AmbientLight in code.

		// Ambient light value.
        AmbientLight _ambLight = new AmbientLight(System.Windows.Media.Brushes.DarkBlue.Color);

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft