Click or drag to resize

ScenePick Method

Executes a pick at the given x, y and returns a depth sorted collection of picked objects. The coordinate origin is top, left. To pick screen overlays, use the PickScreenOverlays(Int32, Int32) method.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public Collection<PickResult> Pick(
	int x,
	int y
)

Parameters

x
Type: SystemInt32
The x coordinate of the Insight3D control.
y
Type: SystemInt32
The y coordinate of the Insight3D control.

Return Value

Type: CollectionPickResult
A collection of depth sorted PickResults
See Also