Class Teapot
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that shows the Utah teapot test model.
public class Teapot : MeshElement3D, IAnimatable, IAddChild, IEditableObject
- Inheritance
-
Teapot
- Implements
- Inherited Members
- Extension Methods
Fields
PositionProperty
Identifies the Position dependency property.
public static readonly DependencyProperty PositionProperty
Field Value
SpoutDirectionProperty
Identifies the SpoutDirection dependency property.
public static readonly DependencyProperty SpoutDirectionProperty
Field Value
UpDirectionProperty
Identifies the UpDirection dependency property.
public static readonly DependencyProperty UpDirectionProperty
Field Value
Properties
Position
Gets or sets the position.
public Point3D Position { get; set; }
Property Value
- Point3D
The position.
SpoutDirection
Gets or sets the spout direction.
public Vector3D SpoutDirection { get; set; }
Property Value
- Vector3D
The spout direction.
UpDirection
Gets or sets up direction.
public Vector3D UpDirection { get; set; }
Property Value
- Vector3D
Up direction.
Methods
Tessellate()
Do the tessellation and return the MeshGeometry3D.
protected override MeshGeometry3D? Tessellate()
Returns
- MeshGeometry3D
A triangular mesh geometry.