David Catuhe c52baf5fc2 4.2.0-alpha.16 5 lat temu
..
babylon.glTF2Serializer.js 4ff6708a95 Nightly 5 lat temu
babylon.glTF2Serializer.js.map 4ff6708a95 Nightly 5 lat temu
babylon.glTF2Serializer.min.js 4ff6708a95 Nightly 5 lat temu
babylon.objSerializer.js 4139ffa191 Nightly 5 lat temu
babylon.objSerializer.js.map 4139ffa191 Nightly 5 lat temu
babylon.objSerializer.min.js 60ad1f161c Nightly 5 lat temu
babylonjs.serializers.d.ts 2a9b2c3363 Nightly 5 lat temu
babylonjs.serializers.js 4ff6708a95 Nightly 5 lat temu
babylonjs.serializers.js.map 4ff6708a95 Nightly 5 lat temu
babylonjs.serializers.min.js 4ff6708a95 Nightly 5 lat temu
babylonjs.serializers.module.d.ts 2a9b2c3363 Nightly 5 lat temu
package.json c52baf5fc2 4.2.0-alpha.16 5 lat temu
readme-es6.md 2e710a8ebe dedicated es6 readme 6 lat temu
readme.md 241153b81f Readme files for all modules 8 lat temu

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.