docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRHandUserRelativeDirection

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

    Namespace: UnityEngine.XR.Hands.Gestures
    Assembly: Unity.XR.Hands.dll
    Syntax
    public enum XRHandUserRelativeDirection

    Fields

    Name Description
    ChinDirection

    The chin direction of the user's head. The direction uses the down direction of the Unity.XR.CoreUtils.XROrigin.Camera in the scene.

    EarDirection

    The ear direction of the user's head, or the lateral direction of the user's head. The ear chosen is the one on the same side of the body as the hand's connected shoulder. This direction is perpendicular to the NoseDirection and ChinDirection directions. The direction uses the right/left direction of the Unity.XR.CoreUtils.XROrigin.Camera in the scene.

    HandToHead

    Direction from the root pose of the hand to the user's head. The head position is the position of the Unity.XR.CoreUtils.XROrigin.Camera in the scene.

    NoseDirection

    The nose direction of the user's head. The direction uses the forward direction of the Unity.XR.CoreUtils.XROrigin.Camera in the scene.

    OriginUp

    Up direction of the user's tracking space. The direction uses the Unity.XR.CoreUtils.XROrigin.Origin in the scene.

    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)