AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
InputEventData.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
InputEventData
:
BaseInputEventData
12
{
16
public
InteractionSourcePressInfo
PressType {
get
;
private
set
; }
17
18
public
InputEventData
(EventSystem eventSystem) : base(eventSystem) { }
19
20
public
void
Initialize
(
IInputSource
inputSource, uint sourceId,
object
tag,
InteractionSourcePressInfo
pressType)
21
{
22
BaseInitialize(inputSource, sourceId, tag);
23
PressType = pressType;
24
}
25
}
26
}
HoloToolkit.Unity.InputModule.InteractionSourcePressInfo
InteractionSourcePressInfo
Definition:
InteractionSourcePressInfo.cs:6
HoloToolkit.Unity.InputModule.BaseInputEventData
Base class of all input events.
Definition:
BaseInputEventData.cs:11
HoloToolkit.Unity.InputModule.IInputSource
Interface for an input source. An input source can be anything that a user can use to interact with a...
Definition:
IInputSource.cs:12
HoloToolkit
HoloToolkit.Unity.InputModule.InputEventData.InputEventData
InputEventData(EventSystem eventSystem)
Definition:
InputEventData.cs:18
HoloToolkit.Unity.InputModule.InputEventData.Initialize
void Initialize(IInputSource inputSource, uint sourceId, object tag, InteractionSourcePressInfo pressType)
Definition:
InputEventData.cs:20
HoloToolkit.Unity.InputModule.InputEventData
Describes an input event that has a source id and a press kind.
Definition:
InputEventData.cs:11
UnityEngine
Assets
HoloToolkit
Input
Scripts
InputEventData
InputEventData.cs
Generated by
1.8.12