David Catuhe beff993e43 Nightly 5 éve
..
babylon.glTF2Serializer.js c2baca48e4 Nightly 5 éve
babylon.glTF2Serializer.js.map a821b75269 Fix #7035 5 éve
babylon.glTF2Serializer.min.js a821b75269 Fix #7035 5 éve
babylon.objSerializer.js a01b4f4e51 Add support for loading images when Blob object is not defined 6 éve
babylon.objSerializer.js.map a821b75269 Fix #7035 5 éve
babylon.objSerializer.min.js a821b75269 Fix #7035 5 éve
babylonjs.serializers.d.ts 66f319a15a Nightly 6 éve
babylonjs.serializers.js beff993e43 Nightly 5 éve
babylonjs.serializers.js.map a821b75269 Fix #7035 5 éve
babylonjs.serializers.min.js a821b75269 Fix #7035 5 éve
babylonjs.serializers.module.d.ts 66f319a15a Nightly 6 éve
package.json a474540a43 4.1.0-alpha.26 5 éve
readme-es6.md 2e710a8ebe dedicated es6 readme 6 éve
readme.md 241153b81f Readme files for all modules 8 éve

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.