Tanoda
|
Public Member Functions | |
GradientInterpolatorBase | Init (Gradient gradient) |
abstract void | Interpolate (float percent) |
Called to trigger the interpolation of this interpolator. Use this callback to do whatever work your interpolator needs to do. More... | |
void | OnSpawn () |
void | Dispose () |
void | OnRecycle () |
void | Interpolate (float percent) |
Called to trigger the interpolation of this interpolator. Use this callback to do whatever work your interpolator needs to do. More... | |
void | OnSpawn () |
void | OnRecycle () |
Protected Attributes | |
Gradient | _gradient |
Properties | |
float | length [get] |
Returns the 'length' of this interpolator, in whatever units make sense for this interpolator. If you are interpolating from one point to another, you would return the distance between the points. More... | |
abstract bool | isValid [get] |
Returns whether or not this interpolator is currently considered valid. Any invalid interpolators will be removed from a tween. More... | |
![]() | |
float | length [get] |
Returns the 'length' of this interpolator, in whatever units make sense for this interpolator. If you are interpolating from one point to another, you would return the distance between the points. More... | |
bool | isValid [get] |
Returns whether or not this interpolator is currently considered valid. Any invalid interpolators will be removed from a tween. More... | |
Definition at line 128 of file InterpolatorBases.cs.
void Leap.Unity.Animation.Internal.GradientInterpolatorBase.Dispose | ( | ) |
Definition at line 144 of file InterpolatorBases.cs.
GradientInterpolatorBase Leap.Unity.Animation.Internal.GradientInterpolatorBase.Init | ( | Gradient | gradient | ) |
Definition at line 132 of file InterpolatorBases.cs.
|
pure virtual |
Called to trigger the interpolation of this interpolator. Use this callback to do whatever work your interpolator needs to do.
Implements Leap.Unity.Animation.IInterpolator.
void Leap.Unity.Animation.Internal.GradientInterpolatorBase.OnRecycle | ( | ) |
Implements Leap.Unity.IPoolable.
Definition at line 146 of file InterpolatorBases.cs.
void Leap.Unity.Animation.Internal.GradientInterpolatorBase.OnSpawn | ( | ) |
Implements Leap.Unity.IPoolable.
Definition at line 142 of file InterpolatorBases.cs.
|
protected |
Definition at line 130 of file InterpolatorBases.cs.
|
get |
Returns whether or not this interpolator is currently considered valid. Any invalid interpolators will be removed from a tween.
Implements Leap.Unity.Animation.IInterpolator.
Definition at line 140 of file InterpolatorBases.cs.
|
get |
Returns the 'length' of this interpolator, in whatever units make sense for this interpolator. If you are interpolating from one point to another, you would return the distance between the points.
The only current use of this function is to drive the Tween.AtRate function.
Implements Leap.Unity.Animation.IInterpolator.
Definition at line 137 of file InterpolatorBases.cs.