docs.unity.cn
    Show / Hide Table of Contents

    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
    Computed

    Data for this hand has been computed.

    DominantHand

    Indicates whether the hand these flags were retrieved from is the dominant hand.

    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 1.0.

    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 1.0.

    MenuPressed

    Indicates whether the menu gesture button is pressed.

    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 1.0.

    None

    No flags are valid.

    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 1.0.

    SystemGesture

    Indicates whether a system gesture is being performed (when the palm of the hand is facing the headset).

    Valid

    The aim pose is generally pointed away from the face and is valid for use with UI.

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Tuesday, March 21, 2023
    Terms of use