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). |