Environment.GetVisibleEntitiesFromBackBuffer Method

Returns the indices of the entities read from the back buffer in the selectionBox.
Protected Friend Overridable Function GetVisibleEntitiesFromBackBuffer( _ 
ByVal viewport As Viewport, _ 
ByVal rgbValues As Byte(), _ 
ByVal stride As Integer, _ 
ByVal bpp As Integer, _ 
ByVal selectionBox As Rectangle, _ 
ByVal firstOnly As Boolean
) As Integer()
This language is not supported or no code example is available.
internal protected virtual int[] GetVisibleEntitiesFromBackBuffer( 
Viewport viewport
byte[] rgbValues
int stride
int bpp
Rectangle selectionBox
bool firstOnly 
)
This language is not supported or no code example is available.

Parameters

viewport
Viewport

The viewport

rgbValues
byte[]

The array of pixels drawn in false colors

stride
int

The number of bytes per image row

bpp
int

Bytes per pixel

selectionBox
Rectangle

Selection rectangle in screen coordinates

firstOnly
bool

If true, returns the first entity that is found in the selectionBox

Return Value

int[]

The array of the indices of the visible entities found in the selection box.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition