Class MetaHandTrackingAim
This OpenXRInteractionFeature enables the use of Meta's hand-tracking aim data in OpenXR. It will not work without also enabling the HandTracking feature. It enables XR_FB_hand_tracking_aim in the underlying runtime. This creates new InputDevices with the HandTracking characteristic where the devicePosition and deviceRotation represent the aim pose exposed by this extension.
Namespace: UnityEngine.XR.Hands.OpenXR
Assembly: solution.dll
Syntax
public class MetaHandTrackingAim : OpenXRFeature
Remarks
For this extension to be available, you must install the XR Hands package.
Fields
Name | Description |
---|---|
extensionString | The OpenXR Extension string. OpenXR uses this to check if this extension is available or enabled. See Meta hand-tracking aim documentation for more information on this OpenXR extension. |
featureId | The feature ID string. This is used to give the feature a well known ID for reference. |
Properties
Name | Description |
---|---|
leftHand | (Deprecated) The left-hand InputDevice that contains InputControls that surface data in the Meta Hand Tracking Aim extension. |
rightHand | (Deprecated) The right-hand InputDevice that contains InputControls that surface data in the Meta Hand Tracking Aim extension. |
Methods
Name | Description |
---|---|
OnSubsystemStart() | See OpenXRFeature.OnSubsystemStart. |
OnSubsystemStop() | See OpenXRFeature.OnSubsystemStop. |