Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebXRManagedOutputCanvas

Creates a canvas that is added/removed from the webpage when entering/exiting XR

Hierarchy

  • WebXRManagedOutputCanvas

Implements

Index

Constructors

constructor

Properties

canvasContextSearch playground for canvasContext

canvasContext: WebGLRenderingContext

Rendering context of the canvas which can be used to display/mirror xr content

onXRLayerInitObservableSearch playground for onXRLayerInitObservable

onXRLayerInitObservable: Observable<XRWebGLLayer>

Obseervers registered here will be triggered when the xr layer was initialized

xrLayerSearch playground for xrLayer

xr layer for the canvas

Methods

disposeSearch playground for dispose

  • dispose(): void
  • Disposes of the object

    Returns void

initializeXRLayerAsyncSearch playground for initializeXRLayerAsync

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Static method