UNPKG

glodrei

Version:

useful add-ons for react-three-fiber

11 lines (10 loc) 505 B
import { ReactThreeFiber } from '@react-three/fiber'; import * as THREE from 'three'; import { FlyControls as FlyControlsImpl } from 'three-stdlib'; import { ForwardRefComponent } from '../helpers/ts-utils'; export type FlyControlsProps = ReactThreeFiber.Object3DNode<FlyControlsImpl, typeof FlyControlsImpl> & { onChange?: (e?: THREE.Event) => void; domElement?: HTMLElement; makeDefault?: boolean; }; export declare const FlyControls: ForwardRefComponent<FlyControlsProps, FlyControlsImpl>;