XRConfiguration#

Type alias XRConfiguration

XRConfiguration: {
    autoShowBackgroundFeed?: boolean;
    deviceScreenshotsEnabled?: boolean;
    imageSourceConfig: XRImageSourceConfig;
    modelTrackingEnabled?: boolean;
}

Configuration for the XR system. The configuration is used when connecting to the XR system.

Type declaration

  • Optional autoShowBackgroundFeed?: boolean

    If true, the XR system will show the XR background feed automatically when it is available.

    Default

    true
    
  • Optional deviceScreenshotsEnabled?: boolean

    If true, the XR system will be able to use functionalities that require device screenshots.

    Default

    false
    
  • imageSourceConfig: XRImageSourceConfig

    Specifies the configuration of the source of the XR images.

  • Optional modelTrackingEnabled?: boolean

    If true, the XR system will be able to use functionalities that require model-based tracking.

    Default

    true
    

Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: