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.
Hand-tracking
The XR Hand package provides:
XRHandSubsystem
for the OpenXR provider plug-in. This means that you can access hand data if you have both the OpenXR and this XR Hand packages installed in a project. Other provider plug-ins must be updated to implement the XRHandSubsystem before you can access hand data when using them.Refer to Hand tracking data and Hand Gestures for more information about using hand data in an application.
NoteIf you are implementing hand tracking for a Unity provider plug-in, see Implement a provider. If you are intercepting hand tracking data to filter or process it before it's reported to the caller, see Process joints.
Supporting packagesThe 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.
Currently, the OpenXR package is the only plug-in provider that supports hand tracking.
To see if other provider plug-in packages you use supports hand tracking, check the documentation for those packages.
NoteXR 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.
SamplesThis package provides samples that you can import into your project through the Samples tab of this package's view in the Package Manager window.
Sample Description Gestures Provides a scene for visualizing and testing hand gestures. The Static Hand Gesture component is part of this sample, so you must import the Gestures sample to use the hand gesture feature provided by the XR Hands package. The gesture visualizer scene depends on components in the HandVisualizer sample, so you must import both samples to use it. HandVisualizer Provides a scene, prefabs, and components that visualize hands with a mesh. The HandVisualizer sample has a mesh and script based on the OpenXR hand data layout, so you should use the sample with the OpenXR plug-in or one that conforms to the OpenXR hand joint layout.
Import the XR Hands samples
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4