Class GeometryModel3D
Creates a 3-D model comprised of a MeshGeometry3D and a Material.
Inherited Members
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class GeometryModel3D : Model3D, INotifyPropertyChanged
Constructors
GeometryModel3D()
Initializes a new instance of the GeometryModel3D class.
Declaration
public GeometryModel3D()
GeometryModel3D(Geometry3D, Material)
Initializes a new instance of the GeometryModel3D class.
Declaration
public GeometryModel3D(Geometry3D geometry, Material material)
Parameters
Geometry3D
geometry
Geometry of the new mesh primitive. |
Material
material
Material of the new mesh primitive. |
Fields
BackMaterialProperty
Identifies the BackMaterial dependency property.
Declaration
public static readonly DependencyProperty BackMaterialProperty
Field Value
System.Windows.DependencyProperty
|
GeometryProperty
Identifies the Geometry dependency property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
System.Windows.DependencyProperty
|
MaterialProperty
Identifies the Material dependency property.
Declaration
public static readonly DependencyProperty MaterialProperty
Field Value
System.Windows.DependencyProperty
|
Properties
BackMaterial
Gets or sets the Material to be applied to the back of a Model3D. This is a dependency property.
Declaration
public Material BackMaterial { get; set; }
Property Value
Material
|
Bounds
Gets the bounding Rect3D for this Model3D.
Declaration
public override Rect3D Bounds { get; }
Property Value
Rect3D
|
Overrides
Geometry
Gets or sets the geometry of a GeometryModel3D. This is a dependency property.
Declaration
public Geometry3D Geometry { get; set; }
Property Value
Geometry3D
|
Material
Gets or sets the Material of a GeometryModel3D This is a dependency property.
Declaration
public Material Material { get; set; }
Property Value
Material
|
Methods
GeometryChangedHandler(DependencyObject, DependencyPropertyChangedEventArgs)
Geometry property changed callback.
Declaration
protected static void GeometryChangedHandler(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Parameters
System.Windows.DependencyObject
source
Source. |
System.Windows.DependencyPropertyChangedEventArgs
eventArgs
Event Args. |
MaterialChangedHandler(DependencyObject, DependencyPropertyChangedEventArgs)
Material or BackMaterial property changed callback.
Declaration
protected static void MaterialChangedHandler(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Parameters
System.Windows.DependencyObject
source
Source. |
System.Windows.DependencyPropertyChangedEventArgs
eventArgs
Event Args. |