DiffuseMaterial.Brush Property


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

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public Brush Brush { get; set; }

Property Value

Type: System.Windows.Media.Brush

Brush to apply.

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.

.NET Framework
Available since 3.0
Return to top