From 1af294a268559d68ce6c224bc514bc2e82ebb606 Mon Sep 17 00:00:00 2001 From: kazakami Date: Wed, 13 Jun 2018 00:05:34 +0900 Subject: [PATCH] add typing for three-gltfexporter --- types/three/index.d.ts | 1 + types/three/three-gltfexporter.d.ts | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 types/three/three-gltfexporter.d.ts diff --git a/types/three/index.d.ts b/types/three/index.d.ts index cc26a82225..88cd09c70a 100644 --- a/types/three/index.d.ts +++ b/types/three/index.d.ts @@ -33,6 +33,7 @@ export * from "./three-effectcomposer"; export * from "./three-examples"; export * from "./three-fbxloader"; export * from "./three-FirstPersonControls"; +export * from "./three-gltfexporter"; export * from "./three-maskpass"; export * from "./three-mtlloader"; export * from "./three-objloader"; diff --git a/types/three/three-gltfexporter.d.ts b/types/three/three-gltfexporter.d.ts new file mode 100644 index 0000000000..2bdba480a7 --- /dev/null +++ b/types/three/three-gltfexporter.d.ts @@ -0,0 +1,9 @@ +import { Object3D } from "three"; + +export class GLTFExporter { + constructor(); + + parse(input: Object3D, onCompleted: (gltf: object) => void, options: object): null; + +} +