docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum HandMenu.UpDirection

    Enum dictating the up direction used in hand menu calculations.

    Namespace: UnityEngine.XR.Interaction.Toolkit.UI.BodyUI
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public enum HandMenu.UpDirection

    Fields

    Name Description
    CameraUp

    Use the main camera up direction. The menu will stay oriented with the head when the user tilts their head left or right.

    TransformUp

    Use this GameObject's world up direction (up). Useful if this component is on a child GameObject of the XR Origin and the user can teleport to walls.

    WorldUp

    Use the global world up direction (up).

    See Also
    handMenuUpDirection
    In This Article
    Back to top
    Copyright © 2025 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)