IWebXRFeature

Defining the interface required for a (webxr) feature

Hierarchy

Implemented by

Index

Properties

attached

Find examples in Playground
attached: boolean

Is this feature attached

disableAutoAttach

Find examples in Playground
disableAutoAttach: boolean

Should auto-attach be disabled?

Methods

attach

Find examples in Playground
  • attach(force?: boolean): boolean
  • Attach the feature to the session Will usually be called by the features manager

    Parameters

    • Optional force: boolean

      should attachment be forced (even when already attached)

    Returns boolean

    true if successful.

detach

Find examples in Playground
  • detach(): boolean
  • Detach the feature from the session Will usually be called by the features manager

    Returns boolean

    true if successful.

dispose

Find examples in Playground
  • dispose(): void

Generated using TypeDoc