XRState¶
Type Alias XRState
XRState: {
anchored: boolean;
backgroundFeedVisible: boolean;
modelTrackingPhase: XRModelTrackingPhase;
worldMappingStatus: XRWorldMappingStatus;
}
anchored: boolean;
backgroundFeedVisible: boolean;
modelTrackingPhase: XRModelTrackingPhase;
worldMappingStatus: XRWorldMappingStatus;
}
Type declaration
anchored: boolean
Whether the rendered model is anchored in the XR space or not.
backgroundFeedVisible: boolean
Whether the background feed is visible or not.
modelTrackingPhase: XRModelTrackingPhase
Specifies in which phase the model tracking is.
If the XR system does not support model tracking, this value will always be XRModelTrackingPhase.NONE.
worldMappingStatus: XRWorldMappingStatus
Represents the current world mapping status of the XR system if available.
Reflects the current state of the XR system.