Interface IXRHandProcessor
Derive from this interface with a class
to intercept and alter
hand and joint data. Register your processor with
RegisterProcessor<TProcessor>(TProcessor).
Namespace: UnityEngine.XR.Hands.Processing
Syntax
public interface IXRHandProcessor
Properties
callbackOrder
Returns the relative callback order for the ProcessJoints(XRHandSubsystem, XRHandSubsystem.UpdateSuccessFlags, XRHandSubsystem.UpdateType) callback. Callbacks with lower values are called before callbacks with higher values.
Declaration
int callbackOrder { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
ProcessJoints(XRHandSubsystem, XRHandSubsystem.UpdateSuccessFlags, XRHandSubsystem.UpdateType)
Called after preprocessJoints is invoked and before updatedHands is invoked. Use extension methods to XRHandSubsystem, XRHand, and XRHandJoint in XRHandProcessingUtility to modify hand and joint data.
Declaration
void ProcessJoints(XRHandSubsystem subsystem, XRHandSubsystem.UpdateSuccessFlags successFlags, XRHandSubsystem.UpdateType updateType)
Parameters
Type | Name | Description |
---|---|---|
XRHandSubsystem | subsystem | |
XRHandSubsystem.UpdateSuccessFlags | successFlags | |
XRHandSubsystem.UpdateType | updateType |