Instance Property

identifier

A unique identifier for the anchor.

Declaration

@property(nonatomic, readonly) NSUUID *identifier;

Discussion

Whether an anchor is created manually (with the initWithTransform: initializer) or automatically by ARKit (and provided to you through ARSessionDelegate, ARSCNViewDelegate, or ARSKViewDelegate methods), each anchor automatically receives a unique identifier value.

You can use this value to determine which anchors accompanying a specific ARFrame capture correspond to anchors in frames captured previously.

See Also

Tracking Anchors

sessionIdentifier

The unique identifier of the session that owns this anchor.

Beta
transform

A matrix encoding the position, orientation, and scale of the anchor relative to the world coordinate space of the AR session the anchor is placed in.