Vixen
02b45cc4
csharp
public readonly record struct SnapHit

Where a snap landed, and which way the thing it landed on faces.

Read the guide page for this →

Fields and properties (3)

  • public Vector3 Point

    Where, in world space.

  • public Vector3? Normal

    Which way the surface faces, or for a point or a line.

  • public SnapElements Element

    Which 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