XRConfiguration

Interface XRConfiguration

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

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

Properties

autoShowBackgroundFeed?: boolean

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

true
deviceScreenshotsEnabled?: boolean

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

false
imageSourceConfig: XRImageSourceConfig

Specifies the configuration of the source of the XR images.

modelTrackingEnabled?: boolean

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

true
rayCastingEnabled?: boolean

If true, the XR system will be able to use functionalities that require ray casting.

false