Class ARParticipant
Represents a participant (that is, another device in a collaborative session).
Inheritance
ARParticipant
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.XR.ARFoundation
Syntax
[DisallowMultipleComponent]
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 |