Defines the base parameters used to set / reset an OrbitControls.

interface OrbitControlsBaseParams {
    target?: Vec3;
    enableZoom?: boolean;
    minZoom?: number;
    maxZoom?: number;
    zoomSpeed?: number;
    enableRotate?: boolean;
    minPolarAngle?: number;
    maxPolarAngle?: number;
    minAzimuthAngle?: number;
    maxAzimuthAngle?: number;
    rotateSpeed?: number;
    enablePan?: boolean;
    panSpeed?: number;
}

Hierarchy (view full)

Properties

target?: Vec3
enableZoom?: boolean

Whether to allow zooming or not.

minZoom?: number

Minimum zoom value to use.

maxZoom?: number

Maximum zoom value to use.

zoomSpeed?: number

Zoom speed value to use.

enableRotate?: boolean

Whether to allow rotating or not.

minPolarAngle?: number

Minimum angle to use for vertical rotation.

maxPolarAngle?: number

Maximum angle to use for vertical rotation.

minAzimuthAngle?: number

Minimum angle to use for horizontal rotation.

maxAzimuthAngle?: number

Maximum angle to use for horizontal rotation.

rotateSpeed?: number

Rotate speed value to use.

enablePan?: boolean

Whether to allow paning or not.

panSpeed?: number

Pan speed value to use.