Class PointHitResult
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A hit result.
public sealed class PointHitResult : IHitResult
- Inheritance
-
PointHitResult
- Implements
- Inherited Members
Constructors
PointHitResult(RayMeshGeometry3DHitTestResult, double, Point3D, Vector3D)
public PointHitResult(RayMeshGeometry3DHitTestResult rayHit, double distance, Point3D position, Vector3D normal)
Parameters
rayHitRayMeshGeometry3DHitTestResultdistancedoublepositionPoint3DnormalVector3D
Properties
Distance
Gets the distance.
public double Distance { get; }
Property Value
- double
The distance.
Mesh
Gets the mesh.
public MeshGeometry3D Mesh { get; }
Property Value
- MeshGeometry3D
The mesh.
Model
Gets the model.
public Model3D? Model { get; }
Property Value
- Model3D
The model.
Normal
Gets the normal.
public Vector3D Normal { get; }
Property Value
- Vector3D
The normal.
Position
Gets the position.
public Point3D Position { get; }
Property Value
- Point3D
The position.
RayHit
Gets the ray hit.
public RayMeshGeometry3DHitTestResult RayHit { get; }
Property Value
- RayMeshGeometry3DHitTestResult
The ray hit.
Visual
Gets the visual.
public Visual3D? Visual { get; }
Property Value
- Visual3D
The visual.