Rediger

Del via


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.

public:
 SpecularMaterial();
public SpecularMaterial ();
Public Sub New ()

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

SpecularMaterial(Brush, Double)

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

public:
 SpecularMaterial(System::Windows::Media::Brush ^ brush, double specularPower);
public SpecularMaterial (System.Windows.Media.Brush brush, double specularPower);
new System.Windows.Media.Media3D.SpecularMaterial : System.Windows.Media.Brush * double -> System.Windows.Media.Media3D.SpecularMaterial
Public Sub New (brush As Brush, specularPower As Double)

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