When enabled the scene will be automatically fitted into the camera view in onEnable
When enabled OrbitControls will automatically raycast find a look at target in start
The duration in seconds it takes for the camera look ad and position lerp to reach their destination (when set via setCameraTargetPosition
and setLookTargetPosition
)
True while the camera position is being lerped
The object being controlled by the OrbitControls (usually the camera)
The underlying three.js OrbitControls
True while the camera look target is being lerped
use targetLerpDuration
insteadThe speed at which the camera target and the camera will be lerping to their destinations (if set via script or user input)
Optional
earlyOptional
lateOptional
onOptional
onOptional
onOptional
onRegister callback when user starts interacting with the orbit controls
Optional
onOptional
onOptional
onOptional
onOptional
resolveMoves the camera to position smoothly.
Optional
position: anyThe position in local space of the controllerObject to move the camera to. If null the camera will stop lerping to the target.
Optional
updateGenerated using TypeDoc
If true user input interrupts the camera from animating to a target