Called internally when adding the interaction manager to an interaction engine. Here the viewport is set.
Deselect the current node.
For onDown events (pointerdown) this method is called. The pointer event is already translated into a ray. An array of intersections is provided that is the result of an intersection with the ray and the scene with the applied filters. (Note that filters of other InteractionManagers may also apply, therefore you need to sanitize the intersections in that case)
For onEnd events (pointerup, pointerout) this method is called. The pointer event is already translated into a ray. An array of intersections is provided that is the result of an intersection with the ray and the scene with the applied filters. (Note that filters of other InteractionManagers may also apply, therefore you need to sanitize the intersections in that case)
For onKeyDown events this method is called.
For onKeyUp events this method is called.
For onMove events (pointermove) this method is called. The pointer event is already translated into a ray. An array of intersections is provided that is the result of an intersection with the ray and the scene with the applied filters. (Note that filters of other InteractionManagers may also apply, therefore you need to sanitize the intersections in that case)
Called internally to remove the viewport from the manager and to clean up.
Select a node. The point and distance of the intersection can be freely chosen and are provided in the event callbacks.
SelectOnUpManager is a convenience class that extends SelectManager and automatically configures it to select on pointer up events.
This maintains backward compatibility while leveraging the unified SelectManager implementation.