Options
All
  • Public
  • Public/Protected
  • All
Menu

Button which can be used to enter a different mode of XR

Hierarchy

  • WebXREnterExitUIButton

Index

Constructors

  • Creates a WebXREnterExitUIButton

    Parameters

    • element: HTMLElement

      button element

    • sessionMode: XRSessionMode

      XR initialization session mode

    • referenceSpaceType: XRReferenceSpaceType

      the type of reference space to be used

    Returns WebXREnterExitUIButton

Properties

element: HTMLElement

button element

referenceSpaceType: XRReferenceSpaceType

Reference space type

sessionMode: XRSessionMode

XR initialization options for the button

Methods

  • Extendable function which can be used to update the button's visuals when the state changes

    Parameters

    Returns void

Legend

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

Settings

Theme