docs.unity3d.com
Search Results for

    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
    Assembly: Unity.XR.Hands.dll
    Syntax
    public interface IXRHandProcessor

    Properties

    callbackOrder

    Returns the relative callback order for the ProcessJoints(XRHandSubsystem, UpdateSuccessFlags, UpdateType) callback. Callbacks with lower values are called before callbacks with higher values.

    Declaration
    int callbackOrder { get; }
    Property Value
    Type Description
    int

    Methods

    ProcessJoints(XRHandSubsystem, UpdateSuccessFlags, 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

    The XRHandSubsystem that invoked this callback.

    XRHandSubsystem.UpdateSuccessFlags successFlags

    The current frame XRHandSubsystem.UpdateSuccessFlags that can be set depending on the result of processing joint data.

    XRHandSubsystem.UpdateType updateType

    The XRHandSubsystem.UpdateType for the current frame.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)