Tanoda
|
Implement this interface to add your own interpolators to Tween! More...
Public Member Functions | |
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 () |
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... | |
bool | isValid [get] |
Returns whether or not this interpolator is currently considered valid. Any invalid interpolators will be removed from a tween. More... | |
Implement this interface to add your own interpolators to Tween!
Definition at line 16 of file IInterpolator.cs.
void Leap.Unity.Animation.IInterpolator.Interpolate | ( | float | percent | ) |
Called to trigger the interpolation of this interpolator. Use this callback to do whatever work your interpolator needs to do.
Implemented in Leap.Unity.Animation.Internal.InterpolatorBase< ValueType, ObjType >, and Leap.Unity.Animation.Internal.GradientInterpolatorBase.
|
get |
Returns whether or not this interpolator is currently considered valid. Any invalid interpolators will be removed from a tween.
Implemented in Leap.Unity.Animation.Internal.InterpolatorBase< ValueType, ObjType >, and Leap.Unity.Animation.Internal.GradientInterpolatorBase.
Definition at line 39 of file IInterpolator.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.
Implemented in Leap.Unity.Animation.Internal.InterpolatorBase< ValueType, ObjType >, and Leap.Unity.Animation.Internal.GradientInterpolatorBase.
Definition at line 33 of file IInterpolator.cs.