AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
PointerSpecificEventData.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 
6 namespace HoloToolkit.Unity.InputModule
7 {
11  public class PointerSpecificEventData : BaseEventData
12  {
16  public IPointingSource Pointer { get; private set; }
17 
18  public PointerSpecificEventData(EventSystem eventSystem) : base(eventSystem)
19  {
20  }
21 
22  public void Initialize(IPointingSource pointer)
23  {
24  Reset();
25  Pointer = pointer;
26  }
27  }
28 }
Event dispatched associated with a specific pointer.
Implement this interface to register your pointer as a pointing source. This could be gaze based or m...