docs.unity3d.com
    Show / Hide Table of Contents

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023