|
il y a 3 ans | |
---|---|---|
.. | ||
dist | il y a 3 ans | |
src | il y a 3 ans | |
README.md | il y a 3 ans | |
package-lock.json | il y a 3 ans | |
package.json | il y a 3 ans | |
tsconfig.json | il y a 3 ans | |
webpack.config.js | il y a 3 ans |
This example demonstrates interoperability between the 3D Tiles loader and react-three-fiber. The tileset is wrapped around the useLoader
interface. The <ErrorBoundary>
and <Suspense>
tags are used to provide feedback on the loading state of the tileset. The <group dispose>
attribute is used to automatically dispose of the tileset when the component is dropped.
npm install
npm run dev