AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
SupportedInputInfo.cs
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License. See LICENSE in the project root for license information.
3 
4 using System;
5 
6 namespace HoloToolkit.Unity.InputModule
7 {
11  [Flags]
12  public enum SupportedInputInfo
13  {
14  None = 0,
15  [Obsolete("use PointerPosition")]
16  Position = (1 << 0),
17  PointerPosition = (1 << 0),
18  [Obsolete("use PointerRotation")]
19  Rotation = (1 << 1),
20  PointerRotation = (1 << 1),
21  Pointing = (1 << 2),
22  Thumbstick = (1 << 3),
23  Touchpad = (1 << 4),
24  Select = (1 << 5),
25  Menu = (1 << 6),
26  Grasp = (1 << 7),
27  GripPosition = (1 << 8),
28  GripRotation = (1 << 9)
29  }
30 }
IsHandVisible AND IsInputSourceDown
SupportedInputInfo
Flags used to indicate which input information is supported by an input source.
Useful for releasing external override. See CursorStateEnum.Contextual