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
}
HoloToolkit.Unity.InputModule.PointerSpecificEventData
Event dispatched associated with a specific pointer.
Definition:
PointerSpecificEventData.cs:11
HoloToolkit.Unity.InputModule.PointerSpecificEventData.Initialize
void Initialize(IPointingSource pointer)
Definition:
PointerSpecificEventData.cs:22
HoloToolkit.Unity.InputModule.PointerSpecificEventData.PointerSpecificEventData
PointerSpecificEventData(EventSystem eventSystem)
Definition:
PointerSpecificEventData.cs:18
HoloToolkit.Unity.InputModule.IPointingSource
Implement this interface to register your pointer as a pointing source. This could be gaze based or m...
Definition:
IPointingSource.cs:13
HoloToolkit
UnityEngine
Assets
HoloToolkit
Input
Scripts
InputEventData
PointerSpecificEventData.cs
Generated by
1.8.12