![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
Class to encapsulate an interpolating Quaternion property. TODO: Remove if redundant to InterpolatedQuaternion.cs More...
Public Member Functions | |
| QuaternionInterpolated () | |
| QuaternionInterpolated (Quaternion initialValue) | |
| void | Reset (Quaternion value) |
| Resets property to zero interpolation and set value. More... | |
| void | SetTarget (Quaternion targetValue) |
| Set a target for property to interpolate to. More... | |
| bool | HasUpdate () |
| Returns whether there are further updates required to get the target value. More... | |
| Quaternion | GetUpdate (float deltaTime) |
| Performs and fets the updated value. More... | |
Public Attributes | |
| float | DeltaSpeed = 360f |
| Speed of change in magnitude. More... | |
Properties | |
| Quaternion | Value [get] |
| Current value of the property. More... | |
| Quaternion | TargetValue [get] |
| Target value of the property. More... | |
| Quaternion | StartValue [get] |
| float | Duration [get] |
| float | Counter [get] |
Class to encapsulate an interpolating Quaternion property. TODO: Remove if redundant to InterpolatedQuaternion.cs
Definition at line 14 of file QuaternionInterpolated.cs.
| HoloToolkit.Unity.QuaternionInterpolated.QuaternionInterpolated | ( | ) |
Definition at line 33 of file QuaternionInterpolated.cs.
| HoloToolkit.Unity.QuaternionInterpolated.QuaternionInterpolated | ( | Quaternion | initialValue | ) |
Definition at line 38 of file QuaternionInterpolated.cs.
| Quaternion HoloToolkit.Unity.QuaternionInterpolated.GetUpdate | ( | float | deltaTime | ) |
Performs and fets the updated value.
| deltaTime | Tick delta. |
Definition at line 82 of file QuaternionInterpolated.cs.
| bool HoloToolkit.Unity.QuaternionInterpolated.HasUpdate | ( | ) |
Returns whether there are further updates required to get the target value.
Definition at line 72 of file QuaternionInterpolated.cs.
| void HoloToolkit.Unity.QuaternionInterpolated.Reset | ( | Quaternion | value | ) |
Resets property to zero interpolation and set value.
| value | Desired value to reset |
Definition at line 47 of file QuaternionInterpolated.cs.
| void HoloToolkit.Unity.QuaternionInterpolated.SetTarget | ( | Quaternion | targetValue | ) |
Set a target for property to interpolate to.
| targetValue | Targeted value. |
Definition at line 60 of file QuaternionInterpolated.cs.
| float HoloToolkit.Unity.QuaternionInterpolated.DeltaSpeed = 360f |
Speed of change in magnitude.
Definition at line 19 of file QuaternionInterpolated.cs.
|
get |
Definition at line 31 of file QuaternionInterpolated.cs.
|
get |
Definition at line 30 of file QuaternionInterpolated.cs.
|
get |
Definition at line 29 of file QuaternionInterpolated.cs.
|
get |
Target value of the property.
Definition at line 28 of file QuaternionInterpolated.cs.
|
get |
Current value of the property.
Definition at line 24 of file QuaternionInterpolated.cs.