Class XRParticipantSubsystem
Subsystem for managing the participants in a multi-user collaborative session.
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>
TrackingSubsystem<XRParticipant, XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider>
XRParticipantSubsystem
Inherited Members
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem, UnityEngine.XR.ARSubsystems.XRParticipantSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRParticipantSubsystem.Provider>.OnCreate()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem, UnityEngine.XR.ARSubsystems.XRParticipantSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRParticipantSubsystem.Provider>.OnStart()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem, UnityEngine.XR.ARSubsystems.XRParticipantSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRParticipantSubsystem.Provider>.OnStop()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem, UnityEngine.XR.ARSubsystems.XRParticipantSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRParticipantSubsystem.Provider>.OnDestroy()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem, UnityEngine.XR.ARSubsystems.XRParticipantSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRParticipantSubsystem.Provider>.subsystemDescriptor
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem, UnityEngine.XR.ARSubsystems.XRParticipantSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRParticipantSubsystem.Provider>.provider
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.OnStart()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.OnStop()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.OnDestroy()
Namespace: UnityEngine.XR.ARSubsystems
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 |
Overrides
UnityEngine.XR.ARSubsystems.TrackingSubsystem<UnityEngine.XR.ARSubsystems.XRParticipant, UnityEngine.XR.ARSubsystems.XRParticipantSubsystem, UnityEngine.XR.ARSubsystems.XRParticipantSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRParticipantSubsystem.Provider>.GetChanges(Unity.Collections.Allocator)