GetVisibleEntitiesFromBackBuffer Method
In This Topic
Returns the indices of the entities read from the back buffer in the selectionBox.
Syntax
'Declaration
Protected Friend Overridable Function GetVisibleEntitiesFromBackBuffer( _
ByVal As Viewport, _
ByVal () As Byte, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Rectangle, _
ByVal As Boolean _
) As Integer()
protected internal virtual int[] GetVisibleEntitiesFromBackBuffer(
Viewport ,
byte[] ,
int ,
int ,
Rectangle ,
bool
)
Parameters
- viewport
- The viewport
- rgbValues
- The array of pixels drawn in false colors
- stride
- The number of bytes per image row
- bpp
- Bytes per pixel
- selectionBox
- Selection rectangle in screen coordinates
- firstOnly
- If true, returns the first entity that is found in the selectionBox
Return Value
The array of the indices of the visible entities found in the selection box.
See Also