babylon.glTF2Serializer.d.ts 407 B

123456789101112131415
  1. declare module BABYLON {
  2. class GLTFExport {
  3. /**
  4. * Exports the geometry of a Mesh array in .gltf file format.
  5. * If glb is set to true, exports as .glb.
  6. * @param meshes
  7. * @param materials
  8. * @param glb
  9. */
  10. static GLTF(meshes: Mesh[], filename: string, glb?: boolean): {
  11. [fileName: string]: string | Blob;
  12. };
  13. }
  14. }