AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
BoundingBoxEventData.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.EventSystems;
5 using UnityEngine;
6 
7 namespace HoloToolkit.Unity.InputModule
8 {
12  public class BoundingBoxEventData : BaseEventData
13  {
17  public GameObject BoundingBoxRiggedObject { get; private set; }
18 
19  public BoundingBoxEventData(EventSystem eventSystem) : base(eventSystem) { }
20 
21  public void Initialize(GameObject boundingBoxRiggedObject)
22  {
23  Reset();
24 
25  BoundingBoxRiggedObject = boundingBoxRiggedObject;
26  }
27  }
28 }
void Initialize(GameObject boundingBoxRiggedObject)
Describes activity of a bounding box rig events.