#
luxiaotao1123
2024-06-06 a41b9ff62e7a809b8ec1c4b000720a1c3a7448a2
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;