DiffuseMaterial.Brush Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: