using System; using UnityEngine.XR.ARSubsystems; namespace UnityEngine.XR.ARFoundation { /// /// Represents a participant (that is, another device in a collaborative session). /// /// /// Generated by the to represent another participant in the session. /// // [DefaultExecutionOrder(ARUpdateOrder.k_Plane)] [DisallowMultipleComponent] [HelpURL(HelpUrls.ApiWithNamespace + nameof(ARParticipant) + ".html")] public sealed class ARParticipant : ARTrackable { /// /// Get a native pointer associated with this participant. /// /// /// The data pointed to by this member is implementation defined. /// The lifetime of the pointed to object is also /// implementation defined, but should be valid at least until the next /// update. /// public IntPtr nativePtr { get { return sessionRelativeData.nativePtr; } } /// /// Get this participant's session identifier. /// public Guid sessionId { get { return sessionRelativeData.sessionId; } } } }