XRState¶
Interface XRState
interface XRState {
anchored: boolean;
backgroundFeedVisible: boolean;
modelTrackingPhase: XRModelTrackingPhase;
worldMappingStatus: XRWorldMappingStatus;
}
anchored: boolean;
backgroundFeedVisible: boolean;
modelTrackingPhase: XRModelTrackingPhase;
worldMappingStatus: XRWorldMappingStatus;
}
Index
Properties
anchored
anchored: boolean
Whether the rendered model is anchored in the XR space or not.
background Feed Visible
backgroundFeedVisible: boolean
Whether the background feed is visible or not.
model Tracking Phase
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 Mapping Status
Represents the current world mapping status of the XR system if available.
Reflects the current state of the XR system.
See