AnchorEntity.State
class AnchorEntity.State
Summary
Public companion properties |
|
|---|---|
AnchorEntity.State |
An AnchorEntity in the ANCHORED stated is being actively tracked and updated by the perception stack. |
AnchorEntity.State |
An AnchorEntity in the ERROR state indicates that an unexpected error has occurred and this AnchorEntity is invalid, without the possibility of recovery. |
AnchorEntity.State |
An AnchorEntity in the TIMEOUT state indicates that the perception system timed out while searching for an underlying anchorable position in the real world. |
AnchorEntity.State |
An AnchorEntity in the UNANCHORED state does not currently have a real-world pose that is being actively updated. |
Public companion properties
ANCHORED
val ANCHORED: AnchorEntity.State
An AnchorEntity in the ANCHORED stated is being actively tracked and updated by the perception stack. Children of the AnchorEntity will maintain their relative positioning to the system's best understanding of a pose in the real world.
ERROR
val ERROR: AnchorEntity.State
An AnchorEntity in the ERROR state indicates that an unexpected error has occurred and this AnchorEntity is invalid, without the possibility of recovery. Logcat may include additional information about the error.
TIMEDOUT
val TIMEDOUT: AnchorEntity.State
An AnchorEntity in the TIMEOUT state indicates that the perception system timed out while searching for an underlying anchorable position in the real world. The AnchorEntity cannot recover from this state.
UNANCHORED
val UNANCHORED: AnchorEntity.State
An AnchorEntity in the UNANCHORED state does not currently have a real-world pose that is being actively updated. This is the default state while searching for an anchorable position, and can also occur if the perception system has lost tracking of the real-world location.