Explorar o código

TS: Added VRButton.d.ts.

Mugen87 %!s(int64=5) %!d(string=hai) anos
pai
achega
8f6f108d54
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  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;
+}