AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
BoundingBoxGizmoShell.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
UnityEngine
;
5
6
namespace
HoloToolkit
.Unity.UX
7
{
11
[ExecuteInEditMode]
12
public
class
BoundingBoxGizmoShell
:
BoundingBoxGizmo
13
{
14
#region public
15
20
public
bool
DisplayEdgesWhenSelected =
true
;
21
26
public
bool
ClampHandleScale =
false
;
27
33
public
float
HandleScaleMin = 0.1f;
34
40
public
float
HandleScaleMax = 2.0f;
41
42
#endregion
43
44
#region protected
45
46
[SerializeField]
47
protected
Renderer
edgeRenderer
;
48
49
[SerializeField]
50
protected
GameObject
xyzHandlesObject
;
51
[SerializeField]
52
protected
GameObject
xyHandlesObject
;
53
[SerializeField]
54
protected
GameObject
xzHandlesObject
;
55
[SerializeField]
56
protected
GameObject
zyHandlesObject
;
57
58
#endregion
59
}
60
}
HoloToolkit.Unity.UX.BoundingBoxGizmo
Listens to a BoundingBoxManipulate object and draws a gizmo around the target object ...
Definition:
BoundingBoxGizmo.cs:12
HoloToolkit.Unity.UX.BoundingBoxGizmoShell.xyzHandlesObject
GameObject xyzHandlesObject
Definition:
BoundingBoxGizmoShell.cs:50
HoloToolkit.Unity.UX.BoundingBoxGizmoShell.edgeRenderer
Renderer edgeRenderer
Definition:
BoundingBoxGizmoShell.cs:47
HoloToolkit.Unity.UX.BoundingBoxGizmoShell
Draws a bounding box gizmo in the style of the hololens shell
Definition:
BoundingBoxGizmoShell.cs:12
HoloToolkit.Unity.UX.BoundingBoxGizmoShell.xzHandlesObject
GameObject xzHandlesObject
Definition:
BoundingBoxGizmoShell.cs:54
HoloToolkit.Unity.UX.BoundingBoxGizmoShell.xyHandlesObject
GameObject xyHandlesObject
Definition:
BoundingBoxGizmoShell.cs:52
HoloToolkit
HoloToolkit.Unity.UX.BoundingBoxGizmoShell.zyHandlesObject
GameObject zyHandlesObject
Definition:
BoundingBoxGizmoShell.cs:56
UnityEngine
Assets
HoloToolkit
UX
Scripts
BoundingBoxes
BoundingBoxGizmoShell.cs
Generated by
1.8.12