Class MeshNormalsVisual3D
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that shows the normals of the specified mesh geometry.
public class MeshNormalsVisual3D : ModelVisual3D, IAnimatable, IAddChild
- Inheritance
-
MeshNormalsVisual3D
- Implements
- Inherited Members
- Extension Methods
Fields
ColorProperty
Identifies the Color dependency property.
public static readonly DependencyProperty ColorProperty
Field Value
DiameterProperty
Identifies the Diameter dependency property.
public static readonly DependencyProperty DiameterProperty
Field Value
MeshProperty
Identifies the Mesh dependency property.
public static readonly DependencyProperty MeshProperty
Field Value
Properties
Color
Gets or sets the color of the normals.
public Color Color { get; set; }
Property Value
- Color
The color.
Diameter
Gets or sets the diameter of the normal arrows.
public double Diameter { get; set; }
Property Value
- double
The diameter.
Mesh
Gets or sets the mesh.
public MeshGeometry3D Mesh { get; set; }
Property Value
- MeshGeometry3D
The mesh.
Methods
MeshChanged(DependencyObject, DependencyPropertyChangedEventArgs)
The mesh changed.
protected static void MeshChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
objDependencyObjectThe obj.
argsDependencyPropertyChangedEventArgsThe args.
OnMeshChanged()
Updates the visuals.
protected virtual void OnMeshChanged()