Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
button.addEventListener('click', () => {
GLTF2Export.GLBAsync(this._inspector.scene, name.value || "scene", {
shouldExportTransformNode: transformNode => !GLTFTab._IsSkyBox(transformNode)
}).then((glb) => {
glb.downloadFiles();
});
});
}