Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Brush Property
Collapse the table of content
Expand the table of content

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft