|
|
6 年之前 | |
|---|---|---|
| .. | ||
| babylon.glTF2Serializer.d.ts | 7 年之前 | |
| babylon.glTF2Serializer.js | 6 年之前 | |
| babylon.glTF2Serializer.js.map | 6 年之前 | |
| babylon.glTF2Serializer.min.js | 6 年之前 | |
| babylon.objSerializer.d.ts | 8 年之前 | |
| babylon.objSerializer.js | 6 年之前 | |
| babylon.objSerializer.js.map | 6 年之前 | |
| babylon.objSerializer.min.js | 6 年之前 | |
| babylonjs.serializers.d.ts | 6 年之前 | |
| babylonjs.serializers.js | 6 年之前 | |
| babylonjs.serializers.js.map | 6 年之前 | |
| babylonjs.serializers.min.js | 6 年之前 | |
| babylonjs.serializers.module.d.ts | 6 年之前 | |
| package.json | 6 年之前 | |
| readme-es6.md | 6 年之前 | |
| readme.md | 6 年之前 | |
To install using npm :
npm install --save @babylonjs/core @babylonjs/serializers
Afterwards it can be imported to the your project using:
import { GLTF2Export } from '@babylonjs/serializers/glTF';
And used as usual:
GLTF2Export.GLTFAsync(scene, "fileName").then((gltf) => {
gltf.downloadFiles();
});
For more information you can have a look at our our ES6 dedicated documentation and the gltf exporter documentation.