Rediger

Del via


DiffuseMaterial.Brush Property

Definition

Brush to be applied as a Material to a 3-D model.

public:
 property System::Windows::Media::Brush ^ Brush { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush Brush { get; set; }
member this.Brush : System.Windows.Media.Brush with get, set
Public Property Brush As Brush

Property Value

Brush to apply.

Remarks

If no texture coordinates are specified for a MeshGeometry3D, its Material might not render as expected. The only exception is when the Material's Brush property specifies a SolidColorBrush; in this case, the Material will be rendered using a default set of texture coordinates.

Applies to