WebXRManagedOutputCanvasOptions

COnfiguration object for WebXR output canvas

Hierarchy

  • WebXRManagedOutputCanvasOptions

Index

Properties

Optional canvasElement

Find examples in Playground
canvasElement: HTMLCanvasElement

An optional canvas in case you wish to create it yourself and provide it here. If not provided, a new canvas will be created

Optional canvasOptions

Find examples in Playground
canvasOptions: XRWebGLLayerOptions

Options for this XR Layer output

Optional newCanvasCssStyle

Find examples in Playground
newCanvasCssStyle: string

CSS styling for a newly created canvas (if not provided)

Methods

Static GetDefaults

Find examples in Playground

Generated using TypeDoc