Class XRParticipantSubsystem.Provider
The API this subsystem uses to interact with different provider implementations.
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemProvider<XRParticipantSubsystem>
XRParticipantSubsystem.Provider
Inherited Members
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem>.TryInitialize()
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem>.Start()
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem>.Stop()
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRParticipantSubsystem>.Destroy()
UnityEngine.SubsystemsImplementation.SubsystemProvider.running
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public abstract class 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
|