Enum MetaAimFlags
The flags in the extension for each hand that can be read from aimFlags and casting to this type.
Namespace: UnityEngine.XR.Hands
Syntax
[Flags]
[Preserve]
public enum MetaAimFlags : 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 generally pointed away from the face and is valid for use with UI. |
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 |