Vixen
02b45cc4
csharp
public readonly record struct SurfaceHit

What a ray hit in the scene.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (3)

  • public Vector3 Point

    Where, in world space.

  • public Vector3 Normal

    Which way the surface faces there.

  • public float Distance

    How far along the ray.

Methods (1)

  • public SurfaceHit(Vector3 Point, Vector3 Normal, float Distance)

    What a ray hit in the scene.

Used by (9)

  • BlockoutCreateTestsVixen.Editor.Blockout.Tests
  • EditorApplicationVixen.Editor.App
  • FoliageModeVixen.Editor.Terrain
  • ISceneProbeVixen.Editor.SceneView
  • ISurfaceProbeVixen.Editor.SceneView
  • ScenePlacementVixen.Editor.SceneView
  • SceneProbeVixen.Editor.SceneView
  • SnapTestsVixen.Editor.SceneView.Tests
  • StubProbeVixen.Editor.SceneView.Tests