interface AnchorHolder

Known direct subclasses
FakePerceptionManager

Test-only implementation of PerceptionManager used to validate state transitions.

FakeRuntimePlane

Test-only implementation of Plane


Object that holds Anchor instances.

Summary

Public functions

Unit

Detaches the given Anchor from this trackable.

Unit

Notifies the AnchorHolder that the given Anchor has been persisted.

Public functions

detachAnchor

Added in 1.0.0-alpha01
fun detachAnchor(anchor: Anchor): Unit

Detaches the given Anchor from this trackable. Single Anchor instances rely on this function to remove themselves from the AnchorHolder.

persistAnchor

Added in 1.0.0-alpha01
fun persistAnchor(anchor: Anchor): Unit

Notifies the AnchorHolder that the given Anchor has been persisted.