AnchorEntity.State


object AnchorEntity.State


Summary

Constants

const Int

An AnchorEntity in the ANCHORED stated is being actively tracked and updated by the perception stack.

const Int
ERROR = 3

An AnchorEntity in the ERROR state indicates that an unexpected error has occurred and this AnchorEntity is invalid, without the possibility of recovery.

const Int

An AnchorEntity in the TIMEOUT state indicates that the perception system timed out while searching for an underlying anchorable position in the real world.

const Int

An AnchorEntity in the UNANCHORED state does not currently have a real-world pose that is being actively updated.

Constants

ANCHORED

Added in 1.0.0-alpha05
const val ANCHORED = 0: Int

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

Added in 1.0.0-alpha05
const val ERROR = 3: Int

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

Added in 1.0.0-alpha05
const val TIMEDOUT = 2: Int

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

Added in 1.0.0-alpha05
const val UNANCHORED = 1: Int

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.