Raanan Weber 5 năm trước cách đây
mục cha
commit
0c22eb43cf
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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;
 
+    /**
+     * Obseervers registered here will be triggered when the xr layer was initialized
+     */
     public onXRLayerInitObservable: Observable<XRWebGLLayer> = new Observable();
 
     /**