Environment.GetCrossingEntities (Rectangle, Boolean, Boolean) Method
Parameters
- selectionBox
- Rectangle
Selection Rectangle box in screen coordinates
- firstOnly
- bool
When true, returns immediately after selecting the first entity
- selectableOnly
- bool
When true, checks the Entity.Selectable property, otherwise no.
Return Value
int[]An array of indices representing the selected entity position.
All entities in the selectionBox are considered, even the ones covered by others.
Affected by selection scope (Model.SetSelectionScope).