Click or drag to resize

EntityVisualizerTEntityPick Method (PickResult, Primitive)

Given a PickResult and Primitive, returns a list of entities that were picked. This is best used to respond to a pick involving a batch primitive.

Namespace:  AGI.Foundation.Tracking
Assembly:  AGI.Foundation.Tracking.Graphics (in AGI.Foundation.Tracking.Graphics.dll) Version: 19.2.399.0 (19.2.399.0)
Syntax
protected IEnumerable<TEntity> Pick(
	PickResult pickResult,
	Primitive primitive
)

Parameters

pickResult
Type: AGI.Foundation.GraphicsPickResult
The result of the Insight3D pick.
primitive
Type: AGI.Foundation.GraphicsPrimitive
The primitive that was picked.

Return Value

Type: IEnumerableTEntity
The list of picked entities.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if pickResult is .
ArgumentNullExceptionThrown if primitive is .
See Also