docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRFingerShapeTypes

    Set which types you want to calculate for the the corresponding fields calculated when calling XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes). Any cleared types will result in a value of 0 for its corresponding field in the returned XRFingerShape.

    Namespace: UnityEngine.XR.Hands.Gestures
    Assembly: Unity.XR.Hands.dll
    Syntax
    [Flags]
    public enum XRFingerShapeTypes

    Fields

    Name Description
    All

    Calculate all fields of XRFingerShapeType during a call to XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes) or XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes, XRFingerShapeConfiguration).

    BaseCurl

    Whether to calculate the BaseCurl value during a call to XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes) or XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes, XRFingerShapeConfiguration).

    FullCurl

    Whether to calculate the FullCurl value during a call to XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes) or XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes, XRFingerShapeConfiguration).

    None

    Don't calculate any fields of XRFingerShape during a call to XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes) or XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes, XRFingerShapeConfiguration).

    Pinch

    Whether to calculate the Pinch value during a call to XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes) or XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes, XRFingerShapeConfiguration).

    Spread

    Whether to calculate the XRFingerShapeType.Splay value during a call to XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes) or XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes, XRFingerShapeConfiguration).

    TipCurl

    Whether to calculate the TipCurl value during a call to XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes) or XRFingerShapeMath.Calculate(XRHand, XRHandFingerID, XRFingerShapeTypes, XRFingerShapeConfiguration).

    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)