Model component.
A Model is a 3D model in GLTF or GLB format anchored to a position on the map.
<Model models={mapData.getByType('space').map(space => ({ target: space, scale: [0.01, 0.01, 0.01], rotation: [90, 0, 0], opacity: 0.5, }))} options={{ url: '...', }}/> Copy
<Model models={mapData.getByType('space').map(space => ({ target: space, scale: [0.01, 0.01, 0.01], rotation: [90, 0, 0], opacity: 0.5, }))} options={{ url: '...', }}/>
Model component.
A Model is a 3D model in GLTF or GLB format anchored to a position on the map.