Class XRParticipantSubsystem
Subsystem for managing the participants in a multi-user collaborative session.
Inheritance
SubsystemWithProvider<XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>
TrackingSubsystem<XRParticipant, XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>
XRParticipantSubsystem
Implements
Inherited Members
SubsystemWithProvider<XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>.OnCreate()
SubsystemWithProvider<XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>.OnStart()
SubsystemWithProvider<XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>.OnStop()
SubsystemWithProvider<XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>.OnDestroy()
SubsystemWithProvider<XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>.subsystemDescriptor
SubsystemWithProvider<XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>.provider
SubsystemWithProvider.OnStart()
SubsystemWithProvider.OnStop()
SubsystemWithProvider.OnDestroy()
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XRParticipantSubsystem : TrackingSubsystem<XRParticipant, XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>, ISubsystem
Constructors
XRParticipantSubsystem()
Do not call this directly. Call create on a valid XRParticipantSubsystemDescriptor instead.
Declaration
public XRParticipantSubsystem()
Methods
GetChanges(Allocator)
Get the changed participants (added, updated, and removed) since the last call to GetChanges(Allocator).
Declaration
public override TrackableChanges<XRParticipant> GetChanges(Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
Allocator | allocator | An |
Returns
Type | Description |
---|---|
TrackableChanges<XRParticipant> | TrackableChanges<T> that describes the participants that have been added, updated, and removed
since the last call to GetChanges(Allocator). The caller owns the memory allocated with |