Vixen
02b45cc4
csharp
public interface ISubObjectPicker

Something that can say which face, edge or vertex of an entity is under the pointer.

Read the guide page for this →

Remarks

Deliberately not on IScenePicker, and doc 24's B4 is why the two are different questions. "Which entity is under this ray" is asked of a scene and answers with something the whole editor understands; "which face of this mesh" is asked of one entity, answers with an index into a table only the caller and the mesh agree about, and needs a tolerance in pixels because a vertex has no area. A stub that answered the first cannot sensibly answer the second, and every test in this assembly that has one would have had to.

An interface for the reason the other two are: the viewport asks and something else knows the scene.

Methods (3)

Used by (2)

  • ScenePickerVixen.Editor.SceneView
  • SceneViewportVixen.Editor.SceneView