Model component.
A Model is a 3D model in GLTF or GLB format anchored to a Coordinate on the map.
<Model coordinate={coordinate} url={'/path/to/model.glb'} options={{ scale: [0.01, 0.01, 0.01], rotation: [90, 0, 0], opacity: 0.5, }}/> Copy
<Model coordinate={coordinate} url={'/path/to/model.glb'} options={{ scale: [0.01, 0.01, 0.01], rotation: [90, 0, 0], opacity: 0.5, }}/>
Readonly
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
Model component.
A Model is a 3D model in GLTF or GLB format anchored to a Coordinate on the map.
Example