Camera controls.
These constants define camera controls.
v3d.TweenLinear
v3d.TweenSpherical
Creates a new Controls. Note that this class is not intended to be called directly; you probably want to use OrbitControls, FlyingControls, or FirstPersonControls instead.
Whether or not the mouse will be allowed to move above the <iframe> elements located on the page, when it's controlling the camera. Default is false;
The HTMLElement used to listen for mouse / touch events. This must be passed in the constructor; changing it here will not set up new event listeners. Default is the whole document.
Whether or not the controls are enabled.
The camera (or other object) that is being controlled.
Prevent all <iframe> elements located on the current page to capture user events.
Allow all <iframe> elements located on the current page to capture user events.
For more info on how to obtain the source code of this module see this page.