Tanoda
|
Time-step independent exponential smoothing. More...
Public Member Functions | |
void | SetBlend (float blend, float deltaTime=1f) |
Vector3 | Update (Vector3 input, float deltaTime=1f) |
Public Attributes | |
Vector3 | value = Vector3.zero |
float | delay = 0f |
bool | reset = true |
Time-step independent exponential smoothing.
When moving at a constant speed: speed * delay = Value - SmoothedVector3.value.
Definition at line 19 of file SmoothedVector3.cs.
void Leap.Unity.SmoothedVector3.SetBlend | ( | float | blend, |
float | deltaTime = 1f |
||
) |
Definition at line 24 of file SmoothedVector3.cs.
Vector3 Leap.Unity.SmoothedVector3.Update | ( | Vector3 | input, |
float | deltaTime = 1f |
||
) |
Definition at line 28 of file SmoothedVector3.cs.
float Leap.Unity.SmoothedVector3.delay = 0f |
Definition at line 21 of file SmoothedVector3.cs.
bool Leap.Unity.SmoothedVector3.reset = true |
Definition at line 22 of file SmoothedVector3.cs.
Vector3 Leap.Unity.SmoothedVector3.value = Vector3.zero |
Definition at line 20 of file SmoothedVector3.cs.