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
Available since 3.0
Return to top
Show: