SpecularMaterial Constructor (Brush, Double)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the SpecularMaterial class with the specified brush and specular exponent.

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

public SpecularMaterial(
	Brush brush,
	double specularPower


Type: System.Windows.Media.Brush

The brush applied by the new SpecularMaterial.

Type: System.Double

The specular exponent.

SpecularMaterial adds color to other materials applied to a mesh, rather than subtracting it.

SpecularMaterial applied to a mesh will be illuminated wherever specular highlights for the model occur.

.NET Framework
Available since 3.0
Return to top