|
|
před 3 roky | |
|---|---|---|
| .. | ||
| dist | před 3 roky | |
| src | před 3 roky | |
| README.md | před 3 roky | |
| package-lock.json | před 3 roky | |
| package.json | před 3 roky | |
| tsconfig.json | před 3 roky | |
| webpack.config.js | před 3 roky | |
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