#
luxiaotao1123
2024-04-24 ef1c6cacf5aa4b2bcce35eb3b7bae2db95692edd
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;