How to use the babylonjs-serializers.GLTF2Export.GLBAsync function in babylonjs-serializers

To help you get started, we’ve selected a few babylonjs-serializers examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github BabylonJS / Babylon.js / inspector / src / tabs / GLTFTab.ts View on Github external
button.addEventListener('click', () => {
            GLTF2Export.GLBAsync(this._inspector.scene, name.value || "scene", {
                shouldExportTransformNode: transformNode => !GLTFTab._IsSkyBox(transformNode)
            }).then((glb) => {
                glb.downloadFiles();
            });
        });
    }

babylonjs-serializers

Babylon.js Serializers =====================

Apache-2.0
Latest version published 2 days ago

Package Health Score

87 / 100
Full package analysis