Class MetaHandTrackingWideMotionMode
This OpenXRFeature enables the
XR_META_hand_tracking_wide_motion_mode2 OpenXR extension, which
adds a wide-motion data source to XR_EXT_hand_tracking_data_source.
When enabled, the runtime uses inference algorithms to estimate hand poses
even when hands are outside the normal camera tracking volume.
Namespace: UnityEngine.XR.Hands.OpenXR
Assembly: Unity.XR.Hands.dll
Syntax
public class MetaHandTrackingWideMotionMode : OpenXRFeature
Remarks
This feature requires both the HandTracking feature and the HandTrackingDataSourceFeature to be enabled. It configures the data source feature to request both Unobstructed and UnobstructedWideMotion so that the runtime uses direct tracking when hands are visible and falls back to wide-motion inference when they leave the camera field of view.
Requesting UnobstructedWideMotion alone disables optical tracking entirely. This feature always requests both sources to ensure continuous hand tracking.
Fields
extensionString
The OpenXR Extension string. OpenXR uses this to check if this extension is available or enabled.
Declaration
public const string extensionString = "XR_META_hand_tracking_wide_motion_mode2"
Field Value
| Type | Description |
|---|---|
| string |
featureId
The feature ID string. This is used to give the feature a well-known ID for reference.
Declaration
public const string featureId = "com.unity.openxr.feature.input.metahandtrackingwidemotionmode"
Field Value
| Type | Description |
|---|---|
| string |
Methods
GetValidationChecks(List<ValidationRule>, BuildTargetGroup)
Declaration
protected override void GetValidationChecks(List<ValidationRule> results, BuildTargetGroup targetGroup)
Parameters
| Type | Name | Description |
|---|---|---|
| List<ValidationRule> | results | |
| BuildTargetGroup | targetGroup |
OnInstanceCreate(ulong)
Declaration
protected override bool OnInstanceCreate(ulong xrInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | xrInstance |
Returns
| Type | Description |
|---|---|
| bool |