Constructs a new PickListener
.
Optional parameters to customize picking behaviour.
Returns the closest result collected so far, following the order documented in PickListener.finish
The closest pick result, or undefined
if no result was collected.
Indicates whether the listener is satisfied with the results already provided.
True
if the listener doesn't expect more results, False
otherwise.
Returns the furthest result collected so far, following the order documented in PickListener.results
The furthest pick result, or undefined
if no result was collected.
Returns the collected results. PickListener.finish should be called first to ensure the proper sorting and result count.
The pick results.
Adds a pick result.
The result to be added.
Orders the collected results by distance first, then by reversed render order (topmost/highest render order first), and limits the number of results to the maximum accepted number, see IntersectParams.maxResultCount.
Generated using TypeDoc
Collects results from a picking (intersection) test.