Class MetaHandTrackingAim
This OpenXRInteractionFeature enables the use of Meta's
hand-tracking aim data in OpenXR. It will not work without also enabling
the Hand
Namespace: UnityEngine .XR.Hands.OpenXR
Assembly: Unity.XR.Hands.dll
Syntax
public class MetaHandTrackingAim : OpenXRFeature
Remarks
For this extension to be available, you must install the XR Hands package.
Fields
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.
Declaration
public const string extensionString = "XR_FB_hand_tracking_aim"
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.metahandtrackingaim"
Field Value
Type | Description |
---|---|
string |
Properties
leftHand
(Deprecated) The left-hand Input
Declaration
[Obsolete("Use MetaAimHand.left instead. (UnityUpgradable) -> UnityEngine.XR.Hands.MetaAimHand.left", true)]
public static MetaHandTrackingAim.MetaAimHand leftHand { get; }
Property Value
Type | Description |
---|---|
Meta |
rightHand
(Deprecated) The right-hand Input
Declaration
[Obsolete("Use MetaAimHand.right instead. (UnityUpgradable) -> UnityEngine.XR.Hands.MetaAimHand.right", true)]
public static MetaHandTrackingAim.MetaAimHand rightHand { get; }
Property Value
Type | Description |
---|---|
Meta |
Methods
OnSubsystemStart()
See OpenXRFeature.OnSubsystemStart.
Declaration
protected override void OnSubsystemStart()
OnSubsystemStop()
See OpenXRFeature.OnSubsystemStop.
Declaration
protected override void OnSubsystemStop()