David Catuhe 0b84f72816 4.1.0-alpha.21 преди 6 години
..
babylon.glTF2Serializer.js 8bd2c4b243 Engine reduction part 1 преди 6 години
babylon.glTF2Serializer.js.map 8bd2c4b243 Engine reduction part 1 преди 6 години
babylon.glTF2Serializer.min.js 8bd2c4b243 Engine reduction part 1 преди 6 години
babylon.objSerializer.js 7bb36845a2 Nightly преди 6 години
babylon.objSerializer.js.map 7bb36845a2 Nightly преди 6 години
babylon.objSerializer.min.js fcf02ec96d Nightly преди 6 години
babylonjs.serializers.d.ts 66f319a15a Nightly преди 6 години
babylonjs.serializers.js 8bd2c4b243 Engine reduction part 1 преди 6 години
babylonjs.serializers.js.map 8bd2c4b243 Engine reduction part 1 преди 6 години
babylonjs.serializers.min.js 8bd2c4b243 Engine reduction part 1 преди 6 години
babylonjs.serializers.module.d.ts 66f319a15a Nightly преди 6 години
package.json 0b84f72816 4.1.0-alpha.21 преди 6 години
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.