docs.unity3d.com
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023