import { default as React } from 'react'; import { VuerProps } from '../../../vuer/interfaces'; import { OrbitControls as tOrbitControls } from 'three-stdlib'; import * as THREE from 'three'; /** * OrbitControls component props */ type OrbitControlsProps = VuerProps<{ /** * Enable damping (inertia) * @dial controls * @dial-cols 2 * @dial-dtype boolean * @dial-default false */ enableDamping?: boolean; /** * Enable panning * @dial controls * @dial-dtype boolean * @dial-default true */ enablePan?: boolean; /** * Pan in screen space * @dial controls * @dial-dtype boolean * @dial-default true */ screenSpacePanning?: boolean; /** * Enable rotation * @dial controls * @dial-dtype boolean * @dial-default true */ enableRotate?: boolean; /** * Enable zooming * @dial controls * @dial-dtype boolean * @dial-default true */ enableZoom?: boolean; /** * Make this the default control * @dial controls * @dial-dtype boolean * @dial-default true */ makeDefault?: boolean; /** * Maximum polar angle (degrees) * @dial limits * @dial-cols 2 * @dial-dtype number * @dial-default 135 * @dial-min 0 * @dial-max 180 * @dial-step 1 */ maxPolarAngle?: number; /** * Minimum polar angle (degrees) * @dial limits * @dial-dtype number * @dial-default 0 * @dial-min 0 * @dial-max 180 * @dial-step 1 */ minPolarAngle?: number; /** * Maximum distance from target * @dial limits * @dial-dtype number * @dial-default 1000 * @dial-min 0 * @dial-step 1 */ maxDistance?: number; /** * Minimum distance from target * @dial limits * @dial-dtype number * @dial-default 0 * @dial-min 0 * @dial-step 0.1 */ minDistance?: number; /** * Zoom speed * @dial speeds * @dial-cols 2 * @dial-dtype number * @dial-default 1.0 * @dial-min 0.1 * @dial-max 5 * @dial-step 0.1 */ zoomSpeed?: number; /** * Rotation speed * @dial speeds * @dial-dtype number * @dial-default 1.0 * @dial-min 0.1 * @dial-max 5 * @dial-step 0.1 */ rotateSpeed?: number; /** * Pan speed * @dial speeds * @dial-dtype number * @dial-default 1.0 * @dial-min 0.1 * @dial-max 5 * @dial-step 0.1 */ panSpeed?: number; /** * Report camera move events to the server * @dial events * @dial-dtype boolean * @dial-default false */ stream?: boolean; /** @dial-ignore **/ onStart?: (e?: THREE.Event) => void; /** @dial-ignore **/ onEnd?: (e?: THREE.Event) => void; /** React ref to the OrbitControls instance */ ref?: React.Ref; }>; /** * @deprecated Use SceneCameraControl instead for better keyboard support and features. */ export declare const OrbitControls: ({ enableDamping, enablePan, screenSpacePanning, zoomSpeed, maxPolarAngle, minPolarAngle, maxDistance, minDistance, makeDefault, enableRotate, enableZoom, rotateSpeed, panSpeed, stream, onStart, onEnd, ref, }: OrbitControlsProps) => import("react/jsx-runtime").JSX.Element; export {};