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