1
2
3
4
5
6
7
8
9
10
11
12
13
14
| import { GizmoHelper, GizmoViewport, Stats } from '@react-three/drei';
| import { Suspense } from 'react';
|
| const Gizmo = () => {
| return (
| <Suspense>
| <GizmoHelper alignment="bottom-right" margin={[80, 80]} onUpdate={() => null}>
| <GizmoViewport labelColor="white" axisHeadScale={1} />
| <Stats className="!right-0 top-0 !left-[inherit]" />
| </GizmoHelper>
| </Suspense>
| );
| };
| export default Gizmo;
|
|