Dispose the controls and its event listeners.
Reference to the canvas element where the controls are attached. I.e. where pointer events are listened.
Whether the controls are enabled or not.
Focus the controls on the given target.
Object that is begin controlled. Usually the camera.
Set the camera to be used by this renderer.
Call this on every frame to update the controls.
The
ViewportControls
controls an object in the viewport. It's usually the camera.