SpecularMaterial Constructor (Brush, Double)

 

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
)

Parameters

brush
Type: System.Windows.Media.Brush

The brush applied by the new SpecularMaterial.

specularPower
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
Show: