Class XRParticipantSubsystem
Subsystem for managing the participants in a multi-user collaborative session.
Inheritance
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public abstract class XRParticipantSubsystem : TrackingSubsystem<XRParticipant, XRParticipantSubsystemDescriptor>
Constructors
XRParticipantSubsystem()
Do not call this directly. Call create on a valid XRParticipantSubsystemDescriptor instead.
Declaration
public XRParticipantSubsystem()
Methods
CreateProvider()
Implement this to provide this class with an interface to platform specific implementations.
Declaration
protected abstract XRParticipantSubsystem.IProvider CreateProvider()
Returns
Type | Description |
---|---|
XRParticipantSubsystem.IProvider | An implementation specific provider. |
Destroy()
Destroys the participant subsystem.
Declaration
public override sealed void Destroy()
GetChanges(Allocator)
Get the changed (added, updated, and removed) participants 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> describing the participants that have been added, updated, and removed
since the last call to GetChanges(Allocator). The caller owns the memory allocated with |
Overrides
Start()
Starts the participant subsystem.
Declaration
public override void Start()
Stop()
Stops the participant subsystem.
Declaration
public override void Stop()