Click or drag to resize

Scene.Pick 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: 25.1.421.0 (25.1.421.0)
Syntax
public Collection<PickResult> Pick(
	int x,
	int y
)

Parameters

x
Type: System.Int32
The x coordinate of the Insight3D control.
y
Type: System.Int32
The y coordinate of the Insight3D control.

Return Value

Type: Collection<PickResult>
A collection of depth sorted PickResults
See Also