/* Auto-generated by: https://github.com/pmndrs/gltfjsx Command: npx gltfjsx@6.2.16 c:\Users\mouli\Downloads\mario_kart.glb -o c:\Users\mouli\Desktop\mario_kart.tsx --types Author: TheShibeLord (https://sketchfab.com/TheShibeLord) License: CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/) Source: https://sketchfab.com/3d-models/mario-kart-66cc131575344ab69238ec5872f24927 Title: Mario Kart */ import * as THREE from 'three' import React, { useRef } from 'react' import { useGLTF } from '@react-three/drei' import { GLTF } from 'three-stdlib' type GLTFResult = GLTF & { nodes: { mt_mario: THREE.Mesh mt_kart_Mario_S: THREE.Mesh mt_Kart_Mario_Tire_S: THREE.Mesh } materials: { mt_mario: THREE.MeshStandardMaterial mt_kart_Mario_S: THREE.MeshStandardMaterial mt_Kart_Mario_Tire_S: THREE.MeshStandardMaterial } animations: GLTFAction[] } type ContextType = Record> export function Model(props: JSX.IntrinsicElements['group']) { const { nodes, materials } = useGLTF('/mario_kart.glb') as GLTFResult return ( ) } useGLTF.preload('/mario_kart.glb')