Struct XRParticipant
The session-relative data associated with a participant.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public struct XRParticipant : ITrackable, IEquatable<XRParticipant>
Remarks
A participant is another device in a multi-user collaborative session.
Constructors
Name | Description |
---|---|
XRParticipant(TrackableId, Pose, TrackingState, IntPtr, Guid) | Constructs an XRParticipant. XRParticipants are generated by GetChanges(Allocator). |
Properties
Name | Description |
---|---|
defaultParticipant | An XRParticipant with default values. This is mostly zero-initialized,
except for objects like |
nativePtr | A native pointer associated with this participant. The data pointer to by this pointer is implementation defined. |
pose | The |
sessionId | This participant's session identifier. |
trackableId | The TrackableId associated with this participant. |
trackingState | The TrackingState associated with this participant. |
Methods
Name | Description |
---|---|
Equals(object) | Tests for equality. |
Equals(XRParticipant) | Tests for equality. |
GetHashCode() | Generates a hash suitable for use with containers like |
Operators
Name | Description |
---|---|
operator ==(XRParticipant, XRParticipant) | Tests for equality. Same as Equals(XRParticipant). |
operator !=(XRParticipant, XRParticipant) | Tests for inequality. Same as |