IExportOptions | Babylon.js Documentation (babylonjs.com)
You can set this flag when you use the glTF serializer.