Class

ARParticipantAnchor

An anchor that represents another user in a multiuser AR experience.

Declaration

class ARParticipantAnchor : ARAnchor

Overview

When you set isCollaborationEnabled to true, ARKit calls session(_:didAdd:) with an ARParticipantAnchor for every user it detects in your physical environment, providing you with their world position.

Relationships

Inherits From

Conforms To

See Also

Multiuser

Creating a Collaborative Session

Enable nearby devices to share an AR experience by using a peer-to-peer multiuser strategy.

Creating a Multiuser AR Experience

Enable nearby devices to share an AR experience by using a host-guest multiuser strategy.

SwiftShot: Creating a Game for Augmented Reality

See how Apple built the featured demo for WWDC18, and get tips for making your own multiplayer games using ARKit, SceneKit, and Swift.

class ARSession.CollaborationData

An object that holds information that a user has collected about the physical environment.