Enum XRHandDevicePoseSource
Enumeration for controlling how XRHandDevice gets data for its public InputControls.
Namespace: UnityEngine.XR.Hands.Configuration
Assembly: Unity.XR.Hands.dll
Syntax
public enum XRHandDevicePoseSource
Fields
| Name | Description |
|---|---|
| CommonGestures | XRHandDevice will report OpenXR compliant hand interaction poses using XRCommonHandGestures as a data source for each hand. XRHandDevice's XRHandDevice.devicePosition and XRHandDevice.deviceRotation will match grip pose to align with other Unity XR input devices which report 'device' poses where the grip is. |
| LegacyJointRecognition | This is the default and existing behavior for XRHandDevice. XRHandDevice will continue to report non-OpenXR compliant position and rotation data using bone joints for poke, pinch, and grip. XRHandDevice's position and rotation will continue to be in the wrist. |