AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
ToolTipConnectorEnums.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 using System;
4 
5 namespace HoloToolkit.UX.ToolTips
6 {
10  [Flags]
11  public enum ConnectorFollowType
12  {
13  AnchorOnly = 0x0, // The anchor will follow the target - pivot remains unaffected
14  Position = 0x1, // Anchor and pivot will follow target position, but not rotation
15  YRotation = 0x2, // Anchor and pivot will follow target like it's parented, but only on Y axis
16  XRotation = 0x4, // Anchor and pivot will follow target like it's parented
17  }
21  public enum ConnectorOrientType
22  {
23  OrientToObject = 0, // Tooltip will maintain anchor-pivot relationship relative to target object
24  OrientToCamera, // Tooltip will maintain anchor-pivot relationship relative to camera
25  }
29  public enum ConnnectorPivotMode
30  {
31  Manual = 0, // Tooltip pivot will be set manually
32  Automatic, // Tooltip pivot will be set relative to object/camera based on specified direction and line length
33  }
38  {
39  Manual = 0, // Direction will be specified manually
40  North,
41  NorthEast,
42  East,
43  SouthEast,
44  South,
45  SouthWest,
46  West,
47  NorthWest,
48  InFront,
49  }
50 }
ConnnectorPivotMode
how is the pivot of the tooltip determined?
ConnectorPivotDirection
In which direction does the tooltip connector project?
ConnectorOrientType
how does the tooltip rotate about the connector
ConnectorFollowType
How does the Tooltip track with its parent object