![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
Class to encapsulate an interpolating Vector3 property. TODO: Remove if redundant to InterpolatedVector3.cs More...
Public Member Functions | |
| Vector3Interpolated () | |
| Vector3Interpolated (Vector3 initialValue) | |
| void | Reset (Vector3 value) |
| Resets property to zero interpolation and set value. More... | |
| void | SetTarget (Vector3 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... | |
| Vector3 | GetUpdate (float deltaTime) |
| Performs and gets the updated value. More... | |
Public Attributes | |
| float | HalfLife = 0.08f |
| Half-life used to control how fast values are interpolated. More... | |
Properties | |
| Vector3 | Value [get] |
| Current value of the property. More... | |
| Vector3 | TargetValue [get] |
| Target value of the property. More... | |
Class to encapsulate an interpolating Vector3 property. TODO: Remove if redundant to InterpolatedVector3.cs
Definition at line 12 of file Vector3Interpolated.cs.
| HoloToolkit.Unity.Vector3Interpolated.Vector3Interpolated | ( | ) |
Definition at line 28 of file Vector3Interpolated.cs.
| HoloToolkit.Unity.Vector3Interpolated.Vector3Interpolated | ( | Vector3 | initialValue | ) |
Definition at line 33 of file Vector3Interpolated.cs.
| Vector3 HoloToolkit.Unity.Vector3Interpolated.GetUpdate | ( | float | deltaTime | ) |
Performs and gets the updated value.
| deltaTime | Tick delta. |
Definition at line 71 of file Vector3Interpolated.cs.
| bool HoloToolkit.Unity.Vector3Interpolated.HasUpdate | ( | ) |
Returns whether there are further updates required to get the target value.
Definition at line 61 of file Vector3Interpolated.cs.
| void HoloToolkit.Unity.Vector3Interpolated.Reset | ( | Vector3 | value | ) |
Resets property to zero interpolation and set value.
| value | Desired value to reset |
Definition at line 42 of file Vector3Interpolated.cs.
| void HoloToolkit.Unity.Vector3Interpolated.SetTarget | ( | Vector3 | targetValue | ) |
Set a target for property to interpolate to.
| targetValue | Targeted value. |
Definition at line 52 of file Vector3Interpolated.cs.
| float HoloToolkit.Unity.Vector3Interpolated.HalfLife = 0.08f |
Half-life used to control how fast values are interpolated.
Definition at line 17 of file Vector3Interpolated.cs.
|
get |
Target value of the property.
Definition at line 26 of file Vector3Interpolated.cs.
|
get |
Current value of the property.
Definition at line 22 of file Vector3Interpolated.cs.