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]
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 }
Listens to a BoundingBoxManipulate object and draws a gizmo around the target object ...
Draws a bounding box gizmo in the style of the hololens shell