npm.io
9.14.0 • Published 1 week ago

@babylonjs/serializers

Licence
Apache-2.0
Version
9.14.0
Deps
0
Size
1.6 MB
Vulns
0
Weekly
0
Stars
25.7K

Babylon.js Serializers

Installation

To install using npm:

npm install @babylonjs/core @babylonjs/serializers

Usage

Import and use in your project:

import { GLTF2Export } from "@babylonjs/serializers/glTF";

GLTF2Export.GLTFAsync(scene, "fileName").then((gltf) => {
    gltf.downloadFiles();
});

For more information, see the ES6 support documentation and the glTF exporter documentation.