Class XRParticipantSubsystem.Provider
The API this subsystem uses to interact with different provider implementations.
Inheritance
SubsystemProvider
SubsystemProvider<XRParticipantSubsystem>
XRParticipantSubsystem.Provider
Inherited Members
SubsystemProvider<XRParticipantSubsystem>.TryInitialize()
SubsystemProvider<XRParticipantSubsystem>.Start()
SubsystemProvider<XRParticipantSubsystem>.Stop()
SubsystemProvider<XRParticipantSubsystem>.Destroy()
SubsystemProvider.running
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public abstract class XRParticipantSubsystem.Provider : SubsystemProvider<XRParticipantSubsystem>
Methods
GetChanges(XRParticipant, Allocator)
Get the changed participants (added, updated, and removed) since the last call to GetChanges(XRParticipant, Allocator).
Declaration
public abstract TrackableChanges<XRParticipant> GetChanges(XRParticipant defaultParticipant, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
XRParticipant | defaultParticipant | The default participant. This should be used to initialize the returned |
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(XRParticipant, Allocator). The changes should be allocated using
|