Browse Source

making sure the options are read only and visible

Raanan Weber 5 years ago
parent
commit
af2db23995
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Cameras/XR/webXREnterExitUI.ts

+ 1 - 1
src/Cameras/XR/webXREnterExitUI.ts

@@ -117,7 +117,7 @@ export class WebXREnterExitUI implements IDisposable {
         });
     }
 
-    private constructor(private scene: Scene, options: WebXREnterExitUIOptions) {
+    private constructor(private scene: Scene, public readonly options: WebXREnterExitUIOptions) {
         this._overlay = document.createElement("div");
         this._overlay.style.cssText = "z-index:11;position: absolute; right: 20px;bottom: 50px;";