docs.unity3d.com
    Show / Hide Table of Contents

    XR Hands

    The XR Hands package defines an API that allows you to access hand tracking data from devices that support hand tracking. To access hand tracking data, you must also enable a provider plug-in that implements the XR hand tracking subsystem.

    The XR Hands package allows for cross-platform hand-tracking
    Hand-tracking

    Note

    If you are implementing hand tracking for a Unity provider plug-in, see Implement a provider.

    Supporting packages

    The XR Hands package defines the API for hand tracking, but doesn't implement the feature itself. To use hand tracking on a target platform, you also need a separate provider plug-in package for that platform that has been updated to provide hand-tracking data to the XRHandSubsystem, the subsystem which this package defines.

    To see if the provider plug-in package you use supports hand tracking, check the documentation for that package.

    Note

    XR Hands will not work on a target platform unless you also install the provider plug-in package for that platform. See Install XR Hands for detailed setup instructions.

    Samples

    A visualizer sample is provided that can be imported into your project through the Samples tab of this package's view in the Package Manager window. This sample has a mesh and script that assume OpenXR layout, so it is recommended you either use the OpenXR plug-in or one that conforms to the OpenXR hand joint layout.

    Import the HandVisualizer sample
    Import the HandVisualizer sample

    Back to top
    Terms of use
    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