Creates a new camera orbit control.
The element for listening to user events.
The camera to control. If not set, the main camera will be used by default.
Allows the camera to be controlled by user.
Allows the camera to be controlled by user.
Orientation euler angles (x-axis and y-axis). The angle for the x-axis will be clamped between -85 and 85 degrees.
Whether to auto update the camera on prerender. Default is true.
Whether to auto update the camera on prerender. Default is true.
The damping inertia used if enableDamping is true. Default is 0.1.
The damping inertia used if enableDamping is true. Default is 0.1.
Distance between camera and the target. Default value is 5.
Distance between camera and the target. Default value is 5.
Value indicating if damping (inertia) is enabled, which can be used to give a sense of weight to the controls. Default is false.
Value indicating if damping (inertia) is enabled, which can be used to give a sense of weight to the controls. Default is false.
Target position (x, y, z) to orbit.
Target position (x, y, z) to orbit.
Updates the position and rotation of the camera.
Generated using TypeDoc
Allows the user to control the camera by orbiting the target.