Class DiffuseMaterial
Allows the application of a 2-D brush, like a SolidColorBrush or TileBrush, to a diffusely-lit 3-D model.
Inherited Members
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class DiffuseMaterial : Material, INotifyPropertyChanged
Constructors
DiffuseMaterial()
Initializes a new instance of the DiffuseMaterial class.
Declaration
public DiffuseMaterial()
DiffuseMaterial(Brush)
Initializes a new instance of the DiffuseMaterial class.
Declaration
public DiffuseMaterial(Brush brush)
Parameters
System.Windows.Media.Brush
brush
The new material's brush. |
Fields
AmbientColorProperty
Identifies the AmbientColor dependency property.
Declaration
public static readonly DependencyProperty AmbientColorProperty
Field Value
System.Windows.DependencyProperty
|
BrushProperty
Identifies the Brush dependency property.
Declaration
public static readonly DependencyProperty BrushProperty
Field Value
System.Windows.DependencyProperty
|
ColorProperty
Identifies the Color dependency property.
Declaration
public static readonly DependencyProperty ColorProperty
Field Value
System.Windows.DependencyProperty
|
HeightProperty
Identifies the Height dependency property.
Declaration
public static readonly DependencyProperty HeightProperty
Field Value
System.Windows.DependencyProperty
|
WidthProperty
Identifies the Width dependency property.
Declaration
public static readonly DependencyProperty WidthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AmbientColor
Gets or sets a color that represents the ambient color emitted by the Material. This is a dependency property.
Declaration
public Color AmbientColor { get; set; }
Property Value
System.Windows.Media.Color
|
Brush
Gets or sets Brush to be applied as a Material to a 3-D model. This is a dependency property.
Declaration
public Brush Brush { get; set; }
Property Value
System.Windows.Media.Brush
|
Color
Gets or sets the color allowed to emit from the Material. This is a dependency property.
Declaration
public Color Color { get; set; }
Property Value
System.Windows.Media.Color
|
Height
Gets or sets height of the image associated with the brush. This is a dependency property.
Declaration
public double Height { get; set; }
Property Value
System.Double
|
Width
Gets or sets width of the image associated with the brush. This is a dependency property.
Declaration
public double Width { get; set; }
Property Value
System.Double
|