|
InterpolatorBase< ValueType, ObjType > | Init (ValueType a, ValueType b, ObjType target) |
|
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 | OnRecycle () |
|
abstract void | Dispose () |
|
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 () |
|
|
abstract 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 14 of file InterpolatorBases.cs.
◆ Dispose()
◆ Init()
◆ Interpolate()
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.
◆ OnRecycle()
◆ OnSpawn()
◆ _a
◆ _b
◆ _target
◆ isValid
◆ length
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 25 of file InterpolatorBases.cs.
The documentation for this class was generated from the following file: