Clicking an object that is already selected cycles to the next object behind it under the cursor.
With cycleWrap the cycle wraps round to the front object instead of ending in an empty
selection, so clicking the only object under the cursor keeps it selected - Blender's behaviour.
Off by default: past the last object, the click clears the selection.
Allow selecting multiple objects with Shift/Ctrl+Click.
OptionalundoStaticPointerDistance threshold for a pointer click event
StaticPointerTime threshold for a pointer click event
Protected_Sets the hover object from a hit as a pointer move on the canvas does, when hoverEnabled: sends
hitObject, applies the picking mode and sets the result as the hover object. hit null hovers nothing.
Used by the pointer moves of the canvas and by the DOM icons of Object3DWidgetsPlugin.
The object that a pick on object gives: object or its nearest parent that is visible and meets
selectionCondition, or null. Each ray hit of checkIntersection goes through it, and so do other
ways to pick, like the DOM icons of Object3DWidgetsPlugin (on their widget), so all of them follow the same rules.
A hit on a part of a widget that is not picked (hidden, or with userSelectable false) does not go up to the
widget: a widget is picked through the parts that are picked, or as object itself.
Selects a hit as a click on the canvas does: sends hitObject (a listener can change the hit, or consume it to
keep the selection), applies the picking mode (object, material, texture, geometry), and selects the result, or
toggles it with shift, ctrl or cmd when multi-select is on. hit null is a click on nothing.
Used by the pointer clicks of the canvas and by other ways to pick, like the DOM icons of Object3DWidgetsPlugin
(with a hit made by selectableFor), so all of them behave the same.
Optionalevent: { ctrlKey?: boolean; metaKey?: boolean; shiftKey?: boolean }Optionalintersects: HitIntersectsOptionalintersects: HitIntersects
Clicking an object that is already selected cycles through the other objects under the cursor (see cycleWrap). Set to
falseto always pick the front object. Same flag as in webgi's ObjectPicker.