Class MetaHandTrackingAim
This
Namespace: UnityEngine.XR.Hands.OpenXR
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 InputDevice that contains InputControls that surface data in the Meta Hand Tracking Aim extension.
Declaration
[Obsolete("Use MetaAimHand.left instead. (UnityUpgradable) -> UnityEngine.XR.Hands.MetaAimHand.left", true)]
public static MetaHandTrackingAim.MetaAimHand leftHand { get; }
Property Value
Type | Description |
---|---|
MetaHandTrackingAim.MetaAimHand |
rightHand
(Deprecated) The right-hand InputDevice that contains InputControls that surface data in the Meta Hand Tracking Aim extension.
Declaration
[Obsolete("Use MetaAimHand.right instead. (UnityUpgradable) -> UnityEngine.XR.Hands.MetaAimHand.right", true)]
public static MetaHandTrackingAim.MetaAimHand rightHand { get; }
Property Value
Type | Description |
---|---|
MetaHandTrackingAim.MetaAimHand |
Methods
OnSubsystemStart()
See
Declaration
protected override void OnSubsystemStart()
OnSubsystemStop()
See
Declaration
protected override void OnSubsystemStop()