Class MetaHandTrackingUnextrapolatedPoses
This OpenXRFeature enables XR_META_hand_tracking_unextrapolated_poses, which surfaces hand joint poses that the runtime has not extrapolated, along with the time at which they were captured.
Namespace: UnityEngine.XR.Hands.OpenXR
Assembly: Unity.XR.Hands.dll
Syntax
public class MetaHandTrackingUnextrapolatedPoses : OpenXRHandTrackingFeature
Remarks
Retrieve the poses with GetHand(Handedness, XRHandExtrapolation) using Unextrapolated. The extrapolated poses are unaffected.
TryGetTimestamp(out long) reports the capture time as a raw XrTime on the
runtime's clock.
Warning
The runtime currently reports incorrect joint velocities for unextrapolated poses. It's a known issue.
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_unextrapolated_poses"
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.metahandtrackingunextrapolatedposes"
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 |
OnSessionCreate(ulong)
Declaration
protected override void OnSessionCreate(ulong xrSession)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | xrSession |