AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
ICursorModifier.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 
6 namespace HoloToolkit.Unity.InputModule
7 {
11  public interface ICursorModifier
12  {
17  bool GetCursorVisibility();
18 
24  Vector3 GetModifiedPosition(ICursor cursor);
25 
31  Quaternion GetModifiedRotation(ICursor cursor);
32 
38  Vector3 GetModifiedScale(ICursor cursor);
39 
47  void GetModifiedTransform(ICursor cursor, out Vector3 position, out Quaternion rotation, out Vector3 scale);
48  }
49 }
Cursor Interface for handling input events and setting visibility.
Definition: ICursor.cs:11
Cursor Modifier Interface that provides basic overrides for cursor behavior.