瀏覽代碼

documentation must pass

Raanan Weber 5 年之前
父節點
當前提交
7637048640
共有 2 個文件被更改,包括 9 次插入2 次删除
  1. 5 1
      src/Cameras/XR/webXREnterExitUI.ts
  2. 4 1
      src/Cameras/XR/webXRSessionManager.ts

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

@@ -122,7 +122,11 @@ export class WebXREnterExitUI implements IDisposable {
      * @param scene babylon scene object to use
      * @param options (read-only) version of the options passed to this UI
      */
-    private constructor(private scene: Scene, public options: WebXREnterExitUIOptions) {
+    private constructor(
+        private scene: Scene,
+        /** version of the options passed to this UI */
+        public options: WebXREnterExitUIOptions
+    ) {
         this._overlay = document.createElement("div");
         this._overlay.style.cssText = "z-index:11;position: absolute; right: 20px;bottom: 50px;";
 

+ 4 - 1
src/Cameras/XR/webXRSessionManager.ts

@@ -66,7 +66,10 @@ export class WebXRSessionManager implements IDisposable {
      * Constructs a WebXRSessionManager, this must be initialized within a user action before usage
      * @param scene The scene which the session should be created for
      */
-    constructor(public scene: Scene) {
+    constructor(
+        /** The scene which the session should be created for */
+        public scene: Scene
+    ) {
 
     }