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
  • Get the default values of the configuration object

    Parameters

    • Optional engine: ThinEngine

      defines the engine to use (can be null)

    Returns WebXRManagedOutputCanvasOptions

    default values of this configuration object

Generated using TypeDoc