Camera
Camera controls can be used to move the camera around the scene.
Movement
When useGestureControls is enabled, the camera can be moved by dragging the mouse.
Perspective Camera vs Orthographic Camera
By default, the camera is a perspective camera. To change the camera to an orthographic camera, click the Orthographic
button.
Rotation
When useGestureControls is enabled, changing the rotation property will not change the rotation of the camera.
Zoom
To zoom in or out, use the zoom property. When useGestureControls is enabled, by pinching the mouse, the camera position will be changed, giving the effect of zooming in or out.
FOV
By changing the field of view, the camera can be changed to a different perspective.
Orbit Controls
The orbit controls can be used to orbit around the model.
When autoRotate
is enabled, the camera will automatically rotate around the model. autoRotateSpeed
can be used to change the speed of the rotation.
enablePan
can be used to enable or disable panning.enableZoom
can be used to enable or disable zooming.enableRotate
can be used to enable or disable rotation.
Reset
By pressing the focus button, the camera will focus the model's position.