OptionaldomElement: HTMLElement | nullThe HTML element used for event listeners. (optional)
Set to true to automatically rotate around the target.
Note that if this is enabled, you must call .update() in your animation loop. If you want the auto-rotate speed
to be independent of the frame rate (the refresh rate of the display), you must pass the time deltaTime, in
seconds, to .update().
How fast to rotate around the target if .autoRotate is true. Default is 2.0, which equates to 30 seconds per orbit at 60fps. Note that if .autoRotate is enabled, you must call .update() in your animation loop.
The damping inertia used if .enableDamping is set to true. Default is 0.05.
Note that for this to work, you must call .update() in your animation loop.
When set to false, the controls will not respond to user input. Default is true.
Set to true to enable damping (inertia), which can be used to give a sense of weight to the controls. Default is false. Note that if this is enabled, you must call .update() in your animation loop.
Enable or disable camera panning. Default is true.
Enable or disable horizontal and vertical rotation of the camera. Default is true. Note that it is possible to disable a single axis by setting the min and max of the [polar angle].minPolarAngle or [azimuth angle].minAzimuthAngle to the same value, which will cause the vertical or horizontal rotation to be fixed at that value.
Enable or disable zooming (dollying) of the camera.
How fast to pan the camera when the keyboard is used. Default is 7.0 pixels per keypress.
How far you can orbit horizontally, upper limit. If set, the interval [ min, max ] must be a sub-interval of [ - 2 PI, 2 PI ], with ( max - min < 2 PI ). Default is Infinity.
How far you can dolly out ( PerspectiveCamera only ). Default is Infinity.
How far you can orbit vertically, upper limit. Range is 0 to Math.PI radians, and default is Math.PI.
How far you can zoom out ( OrthographicCamera only ). Default is Infinity.
How far you can orbit horizontally, lower limit. If set, the interval [ min, max ] must be a sub-interval of [ - 2 PI, 2 PI ], with ( max - min < 2 PI ). Default is Infinity.
How far you can dolly in ( PerspectiveCamera only ). Default is 0.
How far you can orbit vertically, lower limit. Range is 0 to Math.PI radians, and default is 0.
How far you can zoom in ( OrthographicCamera only ). Default is 0.
Speed of panning. Default is 1.
Speed of rotation. Default is 1.
Defines how the camera's position is translated when panning. If true, the camera pans in screen space.
Otherwise, the camera pans in the plane orthogonal to the camera's up direction. Default is true.
Max number of updates in a second, set to 0 to disable throttling.
OptionaluiSpeed of zooming / dollying. Default is 1.
Setting this property to true allows to zoom to the cursor's position. Default is false.
The camera to be controlled. The camera must not be a child of another object, unless that object is the scene itself.