Class XRHandProviderUtility.SubsystemUpdater
Use this with your provider (if hand-tracking is enabled in your
build settings) to have the subsystem automatically update. Users
can subscribe to handsUpdated to
respond to updates instead of waiting until a following update step.
Makes use of UnityEngine.LowLevel.PlayerLoop to insert this
automatic update at the beginning of the EarlyUpdate.XRUpdate
loop.
Inherited Members
Namespace: UnityEngine.XR.Hands.ProviderImplementation
Assembly: solution.dll
Syntax
public class XRHandProviderUtility.SubsystemUpdater
Remarks
If the Input System backend is enabled, this will also create and XRHandDevices which update themselves from the handsUpdated callback.
Constructors
| Name | Description |
|---|---|
| SubsystemUpdater(XRHandSubsystem) | Initializes and returns an instance of XRHandProviderUtility.SubsystemUpdater. You should create this in your plug-in once the XRHandSubsystem is created. |
Methods
| Name | Description |
|---|---|
| Destroy() | Destroys the automatic updating of the XRHandSubsystem.
You should call this from your plug-in when calling |
| Start() | Starts the automatic updating of the XRHandSubsystem.
You should call this from your plug-in when calling |
| Stop() | Stops the automatic updating of the XRHandSubsystem.
You should call this from your plug-in when calling |