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