Instance Property

anchoring

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

Declaration

var anchoring: AnchoringComponent { get set }

See Also

Configuring the Anchor

struct AnchoringComponent

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

var anchorIdentifier: UUID?

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

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.