AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
AnimCursorDatum.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 System;
5 using UnityEngine;
6 
7 namespace HoloToolkit.Unity.InputModule
8 {
13  [Serializable]
14  public struct AnimCursorDatum
15  {
16  public string Name;
19 
23  [Obsolete("Use Parameter")]
24  public enum AnimInputTypeEnum
25  {
26  Int,
27  Trigger,
28  Bool,
29  Float
30  }
31 
32  [Obsolete("Use Parameter")]
33  [Tooltip("Type of the animation parameter to modify.")]
35 
36  [Obsolete("Use Parameter")]
37  [Tooltip("Name of the animation parameter to modify.")]
38  public string AnimParameterName;
39 
40  [Obsolete("Use Parameter")]
41  [Tooltip("If the animation parameter type is a bool, value to set. Ignored otherwise.")]
42  public bool AnimBoolValue;
43 
44  [Obsolete("Use Parameter")]
45  [Tooltip("If the animation parameter type is an int, value to set. Ignored otherwise.")]
46  public int AnimIntValue;
47 
48  [Obsolete("Use Parameter")]
49  [Tooltip("If the animation parameter type is a float, value to set. Ignored otherwise.")]
50  public float AnimFloatValue;
51  }
52 }
Data struct for cursor state information for the Animated Cursor, which leverages the Unity animation...
AnimInputTypeEnum
Types that an animation parameter can have in the Unity animation system.
Created a copy of the AnimatorControllerParameter because that class is not Serializable and cannot b...
CursorStateEnum
Enum for current cursor state