using System;
using UnityEngine.XR.ARSubsystems;
namespace UnityEngine.XR.ARFoundation
{
///
/// Represents a participant (i.e., another device in a collaborative session).
///
///
/// Generated by the to represent another participant in the session.
///
// [DefaultExecutionOrder(ARUpdateOrder.k_Plane)]
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@3.0/api/UnityEngine.XR.ARFoundation.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; } }
}
}