@babylonjs/serializers
TypeScript icon, indicating that this package has built-in type declarations

8.8.5 • Public • Published

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 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 ES6 dedicated documentation and the gltf exporter documentation.

/@babylonjs/serializers/

    Package Sidebar

    Install

    npm i @babylonjs/serializers

    Weekly Downloads

    21,009

    Version

    8.8.5

    License

    Apache-2.0

    Unpacked Size

    939 kB

    Total Files

    132

    Last publish

    Collaborators

    • babylonjs