Mugen87 пре 5 година
родитељ
комит
8f6f108d54
1 измењених фајлова са 11 додато и 0 уклоњено
  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;
+}