XRConfiguration¶
Interface XRConfiguration
interface XRConfiguration {
autoShowBackgroundFeed?: boolean;
deviceScreenshotsEnabled?: boolean;
imageSourceConfig: XRImageSourceConfig;
modelTrackingEnabled?: boolean;
rayCastingEnabled?: boolean;
}
autoShowBackgroundFeed?: boolean;
deviceScreenshotsEnabled?: boolean;
imageSourceConfig: XRImageSourceConfig;
modelTrackingEnabled?: boolean;
rayCastingEnabled?: boolean;
}
Optionalauto
autoShowBackgroundFeed?: boolean
If true, the XR system will show the XR background feed automatically when it is available.
Optionaldevice
deviceScreenshotsEnabled?: boolean
If true, the XR system will be able to use functionalities that require device screenshots.
image
Specifies the configuration of the source of the XR images.
Optionalmodel
modelTrackingEnabled?: boolean
If true, the XR system will be able to use functionalities that require model-based tracking.
Optionalray
rayCastingEnabled?: boolean
If true, the XR system will be able to use functionalities that require ray casting.
Configuration for the XR system. The configuration is used when connecting to the XR system.
See
RealityAPI.connectXR