Protected
_enabledProtected
_limitWhether the orthographic camera should be limited to 2D or not.
If true, the camera will be limited to 2D and only display a view from above - like Google Maps.
Protected
_previousPrevious polar angle of the camera.
Reference to the camera-controls instance.
Reference to the canvas element where the controls are attached. I.e. where pointer events are listened.
Object that is begin controlled. Usually the camera.
Whether the orthographic camera should be limited to 2D or not.
If true, the camera will be limited to 2D and only display a view from above - like Google Maps.
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 boundary box that encloses the target of the camera. box3 is in THREE.Box3
Optional
box3: Box3THREE.Box3
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.
Viewport camera controls.