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;
}
Properties
Optionalauto Show Background Feed
autoShowBackgroundFeed?: boolean
If true, the XR system will show the XR background feed automatically when it is available.
Optionaldevice Screenshots Enabled
deviceScreenshotsEnabled?: boolean
If true, the XR system will be able to use functionalities that require device screenshots.
image Source Config
Specifies the configuration of the source of the XR images.
Optionalmodel Tracking Enabled
modelTrackingEnabled?: boolean
If true, the XR system will be able to use functionalities that require model-based tracking.
Optionalray Casting Enabled
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