Instance Property

anchorIdentifier

The identifier of the AR anchor with which the anchor entity is associated, or nil if it isn’t currently anchored.

Declaration

var anchorIdentifier: UUID? { get }

See Also

Configuring the Anchor

var anchoring: AnchoringComponent

The component that describes how virtual content is anchored to the real world.

struct AnchoringComponent

A description of how virtual content can be anchored to the real world.

func reanchor(AnchoringComponent.Target, preservingWorldTransform: Bool)

Changes the entity’s anchoring, preserving either the world transform or the local transform.

protocol HasAnchoring

An interface that enables anchoring of virtual content to a real-world object in an AR scene.