Enum MetaHandTrackingAim.AimFlags
(Deprecated) Use MetaAimFlags instead.
Namespace: UnityEngine.XR.Hands.OpenXR
Syntax
[Obsolete("Use UnityEngine.XR.Hands.MetaAimFlags instead.")]
[Flags]
public enum AimFlags : ulong
Fields
Name | Description | Value |
---|---|---|
None | No flags are valid. |
0 |
Computed | Data for this hand has been computed. |
1 |
Valid | The aim pose is valid. Retrieve this data from devicePosition and deviceRotation that MetaHandTrackingAim.MetaAimHand inherits. |
2 |
IndexPinching | Indicates whether the index finger is pinching with the thumb.
Only valid when the pinch strength retrieved from
pinchStrengthIndex is
at a full strength of |
4 |
MiddlePinching | Indicates whether the middle finger is pinching with the thumb.
Only valid when the pinch strength retrieved from
pinchStrengthMiddle is
at a full strength of |
8 |
RingPinching | Indicates whether the ring finger is pinching with the thumb.
Only valid when the pinch strength retrieved from
pinchStrengthRing is
at a full strength of |
16 |
LittlePinching | Indicates whether the little finger is pinching with the thumb.
Only valid when the pinch strength retrieved from
pinchStrengthLittle is
at a full strength of |
32 |
SystemGesture | Indicates whether a system gesture is being performed (when the palm of the hand is facing the headset). |
64 |
DominantHand | Indicates whether the hand these flags were retrieved from is the dominant hand. |
128 |
MenuPressed | Indicates whether the menu gesture button is pressed. |
256 |