docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEngine.XR.Hands.Gestures

    Classes

    XRFingerShapeCondition

    A set of targets for the XRFingerShape values of a single XRHandFingerID.

    XRFingerShapeConfiguration

    Configuration values for how to calculate XRFingerShape. Defines minimum and maximum angles or distances between joints to normalize finger joints into each XRFingerStateType's' 0 to 1 value.

    XRFingerShapeMath

    Extension methods for XRHand to calculate the XRFingerShape for each finger. Also provides static access to the Finger State Processor that is used to clear the cache of calculated values.

    XRHandPose

    Description of a hand pose, which is XRHandShape and XRHandRelativeOrientation.

    XRHandRelativeOrientation

    Defines hand orientation relative to the user and a target Transform.

    XRHandRelativeOrientation.TargetCondition

    A condition that can be used to check the orientation of a hand relative to some other target. The target is another transform referenced by the target property.

    XRHandRelativeOrientation.UserCondition

    A condition that can be used to check the orientation of a hand relative to the user's head or the tracking origin.

    XRHandShape

    Description of a hand shape, which is a set of constraints on some or all of the fingers' shapes.

    Structs

    XRFingerShape

    The calculated state of certain relative geometric properties of a finger from a given hand. Useful for pose detection. All values are normalized from 0 to 1.

    XRFingerShapeCondition.Target

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

    Enums

    XRFingerShapeType

    The different states to describe a finger

    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.

    XRHandAlignmentCondition

    The method used to compare two directions.

    XRHandAxis

    The axis of a hand that is independent of the handedness.

    XRHandTargetRelativeDirection

    The direction to compare the hand's axis direction to relative to an arbitrary target transform in the scene.

    XRHandUserRelativeDirection

    The direction to compare the hand's axis direction to relative to the user.

    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)