docs.unity3d.com
Search Results for

    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
    Assembly: Unity.XR.Hands.dll
    Syntax
    [Flags]
    [Preserve]
    public enum MetaAimFlags : ulong

    Fields

    Name Description
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)