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
Optional
auto Show Background Feed
autoShowBackgroundFeed?: boolean
If true, the XR system will show the XR background feed automatically when it is available.
Optional
device 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.
Optional
model Tracking Enabled
modelTrackingEnabled?: boolean
If true, the XR system will be able to use functionalities that require model-based tracking.
Optional
ray 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