UNPKG

@playcanvas/react

Version:

A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.

23 lines (22 loc) 782 B
import { Entity, Vec3 } from "playcanvas"; type OrbitCameraProps = { distanceMax?: number; distanceMin?: number; pitchAngleMax?: number; pitchAngleMin?: number; inertiaFactor?: number; focusEntity?: Entity | null; frameOnStart?: boolean; distance?: number; pivotPoint?: Vec3 | null; }; type OrbitCameraInputProps = { orbitSensitivity?: number; distanceSensitivity?: number; }; type OrbitControls = OrbitCameraProps & { mouse?: OrbitCameraInputProps; touch?: OrbitCameraInputProps; }; export declare const OrbitControls: ({ distanceMax, distanceMin, pitchAngleMax, pitchAngleMin, inertiaFactor, focusEntity, pivotPoint, frameOnStart, distance, mouse, touch, }: OrbitControls) => import("react/jsx-runtime").JSX.Element; export {};