docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEngine.XR.Interaction.Toolkit.UI.BodyUI

    Classes

    FollowPreset

    Class that defines the configuration of a following behaviour for a hand or object. It determines how an object should follow the hand and includes specifications about local position and rotation, angle constraints, gaze snapping, and smoothing settings.

    FollowPresetDatum

    ScriptableObject container class that holds a float affordance theme value.

    FollowPresetDatumProperty

    Serializable container class that holds a FollowPreset value or container asset reference.

    HandMenu

    Makes a GameObject follow a tracked hand or motion controller with logic for setting visibility of the menu based on the palm orientation. This can be used, for example, to show a preferences menu when the user is looking at their palm.

    Enums

    FollowReferenceAxis

    Represents the reference axis relative to the tracking anchor used to compare up and camera facing direction.

    HandMenu.MenuHandedness

    Enum determining which hand the hand menu will follow.

    HandMenu.UpDirection

    Enum dictating the up direction used in hand menu calculations.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023