Raanan Weber 5 years ago
parent
commit
0c22eb43cf
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/XR/webXRManagedOutputCanvas.ts

+ 3 - 0
src/XR/webXRManagedOutputCanvas.ts

@@ -62,6 +62,9 @@ export class WebXRManagedOutputCanvas implements WebXRRenderTarget {
      */
      */
     public xrLayer: Nullable<XRWebGLLayer> = null;
     public xrLayer: Nullable<XRWebGLLayer> = null;
 
 
+    /**
+     * Obseervers registered here will be triggered when the xr layer was initialized
+     */
     public onXRLayerInitObservable: Observable<XRWebGLLayer> = new Observable();
     public onXRLayerInitObservable: Observable<XRWebGLLayer> = new Observable();
 
 
     /**
     /**