Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebXRManagedOutputCanvasOptions

Configuration object for WebXR output canvas

Hierarchy

  • WebXRManagedOutputCanvasOptions

Index

Properties

Optional canvasElementSearch playground for canvasElement

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 canvasOptionsSearch playground for canvasOptions

canvasOptions: XRWebGLLayerInit

Options for this XR Layer output

Optional newCanvasCssStyleSearch playground for newCanvasCssStyle

newCanvasCssStyle: string

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

Methods

Static GetDefaultsSearch playground for GetDefaults

  • 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

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method