csharp
public interface IScenePickerSomething that can say which entity is under a ray.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
An interface rather than a type, for the reason ISurfaceProbe is one: the viewport asks the question and something else knows the scene. It is also what lets a test drive selection with three stub answers and no world.
Methods (2)
Entity Under(Ray ray, EditorCamera camera, int width, int height)Which entity a ray hits first.
void Within(Marquee marquee, EditorCamera camera, int width, int height, List<Entity> into)Which entities a rubber-band rectangle takes.
Used by (3)
- NothingPickerVixen.Editor.SceneView.Tests
- ScenePickerVixen.Editor.SceneView
- SceneViewportVixen.Editor.SceneView