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 handsUnityEngine.LowLevel.PlayerLoop
to insert this
automatic update at the beginning of the EarlyUpdate.XRUpdate
loop.
Inherited Members
Namespace: UnityEngine .XR.Hands.ProviderImplementation
Assembly: Unity.XR.Hands.dll
Syntax
public class XRHandProviderUtility.SubsystemUpdater
Remarks
If the Input System backend is enabled, this will also create and
XRHand
Constructors
SubsystemUpdater(XRHandSubsystem)
Initializes and returns an instance of XRHand
Declaration
public SubsystemUpdater(XRHandSubsystem subsystem)
Parameters
Type | Name | Description |
---|---|---|
XRHand |
subsystem | The XRHand |
Methods
Destroy()
Destroys the automatic updating of the XRHandDestroy
on the subsystem.
Declaration
public void Destroy()
Start()
Starts the automatic updating of the XRHandStart
on the subsystem.
Declaration
public void Start()
Stop()
Stops the automatic updating of the XRHandStop
on the subsystem.
Declaration
public void Stop()