Instance Property

name

A descriptive name for the anchor.

Declaration

@property(nonatomic, readonly) NSString *name;

Discussion

To name an anchor, create one with the initWithName:transform: initializer. This property is nil for anchors created otherwise.

ARKit does not display the name to users, but your app can use it to identify anchors for debugging.

See Also

Creating Anchors

- initWithTransform:

Creates a new anchor object with the specified transform.

- initWithName:transform:

Creates a new anchor object with the specified transform and a descriptive name.