docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRFingerShapeCondition.Target

    A configuration for a XRFingerShapeType and its desired value in a condition.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.Hands.Gestures
    Assembly: Unity.XR.Hands.dll
    Syntax
    [Serializable]
    public struct XRFingerShapeCondition.Target

    Properties

    desired

    The desired value to compare the specified XRFingerShapeType to in this condition.

    Declaration
    public float desired { get; set; }
    Property Value
    Type Description
    float

    lowerTolerance

    The minimum allowable decrease in range from the desired value that will allow for a condition to be met. for the condition to be met.

    Declaration
    public float lowerTolerance { get; set; }
    Property Value
    Type Description
    float

    shapeType

    The XRFingerShapeType that is being checked in this condition.

    Declaration
    public XRFingerShapeType shapeType { get; set; }
    Property Value
    Type Description
    XRFingerShapeType

    tolerance

    The deprecated minimum and maximum the value can differ from the desired for the condition to be met.

    Declaration
    [Obsolete("Deprecated. Use upperTolerance and lowerTolerance instead.")]
    public float tolerance { get; set; }
    Property Value
    Type Description
    float

    upperTolerance

    The maximum allowable increase in range from the desired value that will allow for a condition to be met.

    Declaration
    public float upperTolerance { get; set; }
    Property Value
    Type Description
    float
    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)