UNPKG

@vctrl/viewer

Version:

vctrl/viewer is a React component library for rendering and interacting with 3D models. It's part of the vectreal ecosystem and is designed to work seamlessly with the vctrl/hooks package for model loading and management.

14 lines (13 loc) 522 B
import { OrbitControlsProps } from '@react-three/drei'; export interface ControlsProps extends OrbitControlsProps { /** * The timeout duration in milliseconds before enabling the controls. */ controlsTimeout?: number; } export declare const defaultControlsOptions: ControlsProps; /** * SceneControls component that enables orbit controls after a specified timeout. */ declare const SceneControls: (props: ControlsProps) => false | import("react/jsx-runtime").JSX.Element; export default SceneControls;