Environment.GetCrossingEntities (Rectangle, IList<Entity>, Boolean, Boolean, Transformation) Method
Public Overridable Function GetCrossingEntities( _
ByVal selectionBox As Rectangle, _
ByVal entList As IList(Of Entity), _
ByVal firstOnly As Boolean, _
Optional ByVal selectableOnly As Boolean = true, _
Optional ByVal accParentTransform As Transformation = null _
) As Integer()
This language is not supported or no code example is available.
Parameters
- selectionBox
- Rectangle
Selection Rectangle box in screen coordinates
A custom list of entities
- firstOnly
- bool
When true, returns immediately after selecting the first entity
- selectableOnly
- bool
When true, checks the Entity.Selectable property, otherwise no.
- accParentTransform
- Transformation
Accumulated parent transformation or null/Nothing
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.