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 Multiuser AR Experience

Transmit ARKit world-mapping data between nearby devices with the MultipeerConnectivity framework to create a shared basis for AR experiences.

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.