Called when the modifier keys have changed.
Main function, called when an event is raised for this interaction
Sets the interaction active. Use boolean (true|false) to toggle default behavior. Pass it a bitmask of EventType to change the active state. Call without arguments to reset the default active, modification key and pointer Key behavior
Optional
active: number | booleanSets the modification key to listen to or the default modification key if none is provided.
Optional
mod: ModificationKeyTypeSets the pointer key for this interaction or the default pointer if none is provided.
Optional
pointer: PointerKeyTypeThe current active bitmask for EventType
The number of pixels to take into account for picking features
A unique identifier for this interaction
The current active ModificationKeyType
event type for which to pick the position of the scene. this will create a second render.
whether to pick translucent depth or not, defaults to true
The currently active PointerKeyType
Pulls the picked position towards the camera position by this number
destroys the implementation, removing any created resources