|
|
hai 6 meses | |
|---|---|---|
| .. | ||
| OBJ | hai 6 meses | |
| SPLAT | hai 6 meses | |
| STL | hai 6 meses | |
| glTF | hai 6 meses | |
| legacy | hai 6 meses | |
| index.d.ts | hai 6 meses | |
| index.js | hai 6 meses | |
| index.js.map | hai 6 meses | |
| license.md | hai 6 meses | |
| package.json | hai 6 meses | |
| readme.md | hai 6 meses | |
For usage documentation please visit https://doc.babylonjs.com/extensions and choose "loaders".
To install using npm :
npm install --save-dev @babylonjs/core @babylonjs/loaders
Afterwards it can be imported to your project using:
import "@babylonjs/loaders/glTF";
This will extend Babylon's loader plugins to allow the load of gltf and glb files.
For more information you can have a look at our ES6 dedicated documentation.