UNPKG
glodrei
Version:
latest (0.0.2)
0.0.2
0.0.1
useful add-ons for react-three-fiber
github.com/pmndrs/drei
pmndrs/drei
glodrei
/
dist
/
core
/
useIntersect.d.ts
4 lines
(3 loc)
•
189 B
TypeScript
View Raw
1
2
3
4
import
*
as
React
from
'react'
;
import
{
Object3D
}
from
'three'
;
export
declare
function
useIntersect<T
extends
Object3D
>(
onChange
:
(
visible
:
boolean
) =>
void
):
React
.
MutableRefObject
<T>;