sebavan 0f3b57dd46 Nightly 5 лет назад
..
babylon.glTF2Serializer.js 0f3b57dd46 Nightly 5 лет назад
babylon.glTF2Serializer.js.map 8fa875a9a5 Nightly 5 лет назад
babylon.glTF2Serializer.min.js 8fa875a9a5 Nightly 5 лет назад
babylon.objSerializer.js 811cb39740 Nightly 5 лет назад
babylon.objSerializer.js.map 44b09392ee Fix build 5 лет назад
babylon.objSerializer.min.js 44b09392ee Fix build 5 лет назад
babylonjs.serializers.d.ts 8fa875a9a5 Nightly 5 лет назад
babylonjs.serializers.js 0f3b57dd46 Nightly 5 лет назад
babylonjs.serializers.js.map 8fa875a9a5 Nightly 5 лет назад
babylonjs.serializers.min.js 8fa875a9a5 Nightly 5 лет назад
babylonjs.serializers.module.d.ts 8fa875a9a5 Nightly 5 лет назад
package.json a67939532b 4.1.0-beta.18 5 лет назад
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.