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]
19 
23  protected virtual void DrawGizmoObjects() {
24  // empty
25  }
26 
27  protected virtual void LateUpdate() {
28  DrawGizmoObjects();
29  }
30  }
31 }
Listens to a BoundingBoxManipulate object and draws a gizmo around the target object ...
Base class for bounding box objects
Definition: BoundingBox.cs:14
virtual void DrawGizmoObjects()
Draws any custom gizmo elements around the manipulator's target object
BoundingBox boundingBox
The bounding box we're following