Protected
_enabledReference to the canvas element where the controls are attached. I.e. where pointer events are listened.
Object that is begin controlled. Usually the camera.
This allows all components to add their own debug options to the debugger.
For example, the controls
.
One controls may provide a set of debug options while another may provide a slightly different set.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Dispose the controls and its event listeners.
Focus the controls on the given target.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Set the camera to be used by this renderer.
E2E test method.
This method should return true
if the test passes, and false
if it fails.
Check the method itself for more information.
Call this on every frame to update the controls.
Abstract class for all viewport controls implementations.