Vixen
02b45cc4
csharp
public interface ISurfaceProbe

Something that can say what a ray hits.

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

Remarks

An interface rather than a dependency on the physics world, so placement is testable with no scene and so a project with no colliders can still answer with its render bounds. The viewport supplies whichever it has.

Methods (1)

  • bool Raycast(Ray ray, out SurfaceHit hit)

    Casts a ray into the scene.

Used by (4)

  • FoliageModeVixen.Editor.Terrain
  • ISceneProbeVixen.Editor.SceneView
  • ScenePlacementVixen.Editor.SceneView
  • StubProbeVixen.Editor.SceneView.Tests