Selaa lähdekoodia

TS: Added VRButton.d.ts.

Mugen87 5 vuotta sitten
vanhempi
commit
8f6f108d54
1 muutettua tiedostoa jossa 11 lisäystä ja 0 poistoa
  1. 11 0
      examples/jsm/webxr/VRButton.d.ts

+ 11 - 0
examples/jsm/webxr/VRButton.d.ts

@@ -0,0 +1,11 @@
+import {
+	WebGLRenderer
+} from '../../../src/Three';
+
+export interface WebXROptions {
+	referenceSpaceType: string;
+}
+
+export namespace VRButton {
+	export function createButton( renderer: WebGLRenderer, options?: WebXROptions  ): HTMLElement;
+}