|
|
3 years ago | |
|---|---|---|
| .. | ||
| dist | 3 years ago | |
| src | 3 years ago | |
| README.md | 3 years ago | |
| package-lock.json | 3 years ago | |
| package.json | 3 years ago | |
| tsconfig.json | 3 years ago | |
| webpack.config.js | 3 years ago | |
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