SpecularMaterial Constructors

Definition

Initializes a new instance of the SpecularMaterial class.

Overloads

SpecularMaterial()

Initializes a new instance of the SpecularMaterial class.

SpecularMaterial(Brush, Double)

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

SpecularMaterial()

Initializes a new instance of the SpecularMaterial class.

C#
public SpecularMaterial();

Remarks

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.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

SpecularMaterial(Brush, Double)

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

C#
public SpecularMaterial(System.Windows.Media.Brush brush, double specularPower);

Parameters

brush
Brush

The brush applied by the new SpecularMaterial.

specularPower
Double

The specular exponent.

Remarks

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.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10