AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
ManipulationEventData.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 using UnityEngine.EventSystems;
6 
7 namespace HoloToolkit.Unity.InputModule
8 {
13  {
18  public Vector3 CumulativeDelta { get; private set; }
19 
20  public ManipulationEventData(EventSystem eventSystem) : base(eventSystem)
21  {
22  }
23 
24  public void Initialize(IInputSource inputSource, uint sourceId, object tag, Vector3 cumulativeDelta)
25  {
26  BaseInitialize(inputSource, sourceId, tag);
27  CumulativeDelta = cumulativeDelta;
28  }
29  }
30 }
Describes an input event that involves content manipulation.
Interface for an input source. An input source can be anything that a user can use to interact with a...
Definition: IInputSource.cs:12
void Initialize(IInputSource inputSource, uint sourceId, object tag, Vector3 cumulativeDelta)