Sfoglia il codice sorgente

Add TypeScript definitions for GLTFExporter

Nathan Bierema 6 anni fa
parent
commit
61b7e8c5af
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      examples/jsm/exporters/GLTFExporter.d.ts

+ 7 - 0
examples/jsm/exporters/GLTFExporter.d.ts

@@ -0,0 +1,7 @@
+import { Object3D } from '../../../src/Three';
+
+export class GLTFExporter {
+  constructor();
+
+  parse(input: Object3D, onCompleted: (gltf: object) => void, options: object): null;
+}