UNPKG

@react-three/drei

Version:

useful add-ons for react-three-fiber

11 lines (10 loc) 407 B
import * as React from 'react'; import * as THREE from 'three'; export type CycleRaycastProps = { onChanged?: (hits: THREE.Intersection[], cycle: number) => null; preventDefault?: boolean; scroll?: boolean; keyCode?: number; portal?: React.RefObject<HTMLElement>; }; export declare function CycleRaycast({ onChanged, portal, preventDefault, scroll, keyCode, }: CycleRaycastProps): null;