@babylonjs/serializers
v8.42.0
Published
Babylon.js Serializers =====================
Maintainers
Readme
Babylon.js Serializers
Installation instructions
To install using npm :
npm install --save @babylonjs/core @babylonjs/serializersHow 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.
