csharp
public readonly record struct SnapHitWhere a snap landed, and which way the thing it landed on faces.
Fields and properties (3)
public Vector3 PointWhere, in world space.
public Vector3? NormalWhich way the surface faces, or for a point or a line.
public SnapElements ElementWhich kind of element answered.
Methods (1)
public SnapHit(Vector3 Point, Vector3? Normal, SnapElements Element)Where a snap landed, and which way the thing it landed on faces.
Used by (7)
- ISceneProbeVixen.Editor.SceneView
- PrecisionTestsVixen.Editor.SceneView.Tests
- SceneProbeVixen.Editor.SceneView
- SceneViewportVixen.Editor.SceneView
- SnapContextTestsVixen.Editor.SceneView.Tests
- SnapTestsVixen.Editor.SceneView.Tests
- TransformGizmoVixen.Editor.SceneView