The list of annotations that were picked, or undefined if no annotation was picked.
The list of boxes that were picked, or undefined if no box was picked.
The list of features that were picked, or undefined if no feature was picked.
The list of geometries that were picked, or undefined if no geometry was picked.
The list of lines that were picked, or undefined if no line was picked.
Should we pick only closest items ?
The picking origin type (pickAt, pickRect, pickFromRay).
The picking origin data (pickAt is a Vector2, pickRect is a Rectangle, pickFromRay a Ray3).
The picking request id as returned by InfiniteEngineInterface.getLastPickingRequestId.
The list of points that were picked, or undefined if no point was picked.
The PickingAttachment interface defines the result of a pick request.
This is the actual attachment of a InfiniteEngineInterfaceSignal.Picked signal event.
A pick request aks to know the content (i.e. geometries, lines, boxes, points) at specific positions in the 3D display. The picking request may concern a specific position (InfiniteEngineInterface.pickAt) or a rectangular area (InfiniteEngineInterface.pickRect) inside the 3d view.
The actual picked point follows the following convention :
As multiple elements may be picked, this interface gathers a list of PickingAttachmentItem for geometries, a list of PickingAttachmentItem for points, a list of PickingAttachmentItem for lines and a list of PickingAttachmentItem for boxes.
Warning : this is a
geometric instance idand not apart instance id!!! (see Main ID Types for more information).or with async calls :
Please make sure the destination browser supports promises before using async calls.
See