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: 24.3.420.0 (24.3.420.0)
Syntax protected IEnumerable<TEntity> Pick(
PickResult pickResult,
Primitive primitive
)
Protected Function Pick (
pickResult As PickResult,
primitive As Primitive
) As IEnumerable(Of TEntity)
protected:
IEnumerable<TEntity>^ Pick(
PickResult^ pickResult,
Primitive^ primitive
)
member Pick :
pickResult : PickResult *
primitive : Primitive -> IEnumerable<'TEntity>
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:
IEnumerableTEntityThe list of picked entities.
Exceptions See Also