Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

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

.NET Framework Client Profile

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