Class ARParticipant
Represents a participant (i.e., another device in a collaborative session).
Inheritance
ARParticipant
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Syntax
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.1/api/UnityEngine.XR.ARFoundation.ARParticipant.html")]
public sealed class ARParticipant : ARTrackable<XRParticipant, ARParticipant>
Remarks
Generated by the ARParticipantManager to represent another participant in the session.
Properties
nativePtr
Get a native pointer associated with this participant.
Declaration
public IntPtr nativePtr { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Remarks
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 ARSession update.
sessionId
Get this participant's session identifier.
Declaration
public Guid sessionId { get; }
Property Value
Type | Description |
---|---|
Guid |