AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
BoundingBoxGizmo.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
BoundingBoxGizmo
: MonoBehaviour
13
{
17
[SerializeField]
18
protected
BoundingBox
boundingBox
;
19
23
protected
virtual
void
DrawGizmoObjects
() {
24
// empty
25
}
26
27
protected
virtual
void
LateUpdate
() {
28
DrawGizmoObjects();
29
}
30
}
31
}
HoloToolkit.Unity.UX.BoundingBoxGizmo
Listens to a BoundingBoxManipulate object and draws a gizmo around the target object ...
Definition:
BoundingBoxGizmo.cs:12
HoloToolkit.Unity.UX.BoundingBoxGizmo.LateUpdate
virtual void LateUpdate()
Definition:
BoundingBoxGizmo.cs:27
HoloToolkit.Unity.UX.BoundingBox
Base class for bounding box objects
Definition:
BoundingBox.cs:14
HoloToolkit.Unity.UX.BoundingBoxGizmo.DrawGizmoObjects
virtual void DrawGizmoObjects()
Draws any custom gizmo elements around the manipulator's target object
Definition:
BoundingBoxGizmo.cs:23
HoloToolkit.Unity.UX.BoundingBoxGizmo.boundingBox
BoundingBox boundingBox
The bounding box we're following
Definition:
BoundingBoxGizmo.cs:18
HoloToolkit
UnityEngine
Assets
HoloToolkit
UX
Scripts
BoundingBoxes
BoundingBoxGizmo.cs
Generated by
1.8.12