David Catuhe 201ad058a2 4.2.0-beta.10 4 年之前
..
babylon.glTF2Serializer.js 7216d5536c Nightly 4 年之前
babylon.glTF2Serializer.js.map 7216d5536c Nightly 4 年之前
babylon.glTF2Serializer.min.js 83a9350327 Nightly 4 年之前
babylon.objSerializer.js f3aa53f12e nightly 5 年之前
babylon.objSerializer.js.map f3aa53f12e nightly 5 年之前
babylon.objSerializer.min.js 8af5581d41 Nightly 5 年之前
babylonjs.serializers.d.ts d2916967af nightly 5 年之前
babylonjs.serializers.js 7216d5536c Nightly 4 年之前
babylonjs.serializers.js.map 7216d5536c Nightly 4 年之前
babylonjs.serializers.min.js 83a9350327 Nightly 4 年之前
babylonjs.serializers.module.d.ts d2916967af nightly 5 年之前
package.json 201ad058a2 4.2.0-beta.10 4 年之前
readme-es6.md 2e710a8ebe dedicated es6 readme 6 年之前
readme.md 241153b81f Readme files for all modules 8 年之前

readme-es6.md

Babylon.js Serializers

Installation instructions

To install using npm :

npm install --save @babylonjs/core @babylonjs/serializers

How to use

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.