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
}
37
public
enum
ConnectorPivotDirection
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
}
HoloToolkit.UX.ToolTips.ConnectorPivotDirection.SouthEast
HoloToolkit.UX.ToolTips.ConnectorOrientType.OrientToCamera
HoloToolkit.UX.ToolTips.ConnectorPivotDirection.West
HoloToolkit.UX.ToolTips.ConnectorFollowType.YRotation
System
HoloToolkit.UX.ToolTips.ConnnectorPivotMode
ConnnectorPivotMode
how is the pivot of the tooltip determined?
Definition:
ToolTipConnectorEnums.cs:29
HoloToolkit.UX.ToolTips.ConnectorPivotDirection.North
HoloToolkit.UX.ToolTips.ConnectorPivotDirection
ConnectorPivotDirection
In which direction does the tooltip connector project?
Definition:
ToolTipConnectorEnums.cs:37
HoloToolkit.UX.ToolTips.ConnectorPivotDirection.South
HoloToolkit.UX.ToolTips.ConnectorOrientType.OrientToObject
HoloToolkit.UX.ToolTips.ConnectorPivotDirection.SouthWest
HoloToolkit.UX.ToolTips.ConnectorFollowType.AnchorOnly
HoloToolkit.UX.ToolTips.ConnectorFollowType.XRotation
HoloToolkit.UX.ToolTips.ConnectorPivotDirection.East
HoloToolkit.UX.ToolTips.ConnectorPivotDirection.NorthWest
HoloToolkit.UX.ToolTips.ConnnectorPivotMode.Automatic
HoloToolkit.UX.ToolTips.ConnectorPivotDirection.NorthEast
HoloToolkit
HoloToolkit.UX.ToolTips.ConnectorOrientType
ConnectorOrientType
how does the tooltip rotate about the connector
Definition:
ToolTipConnectorEnums.cs:21
HoloToolkit.UX.ToolTips.ConnectorFollowType
ConnectorFollowType
How does the Tooltip track with its parent object
Definition:
ToolTipConnectorEnums.cs:11
HoloToolkit.UX.ToolTips.ConnectorPivotDirection.InFront
Assets
HoloToolkit
UX
Scripts
Tooltip
ToolTipConnectorEnums.cs
Generated by
1.8.12