15 protected ValueType
_a,
_b;
25 public abstract float length {
get; }
101 return Quaternion.Angle(
_a,
_b);
116 return ((Vector4)
_b).magnitude;
137 public float length {
get {
return 1; } }
new ColorInterpolatorBase< ObjType > Init(Color a, Color b, ObjType target)
new FloatInterpolatorBase< ObjType > Init(float a, float b, ObjType target)
abstract bool isValid
Returns whether or not this interpolator is currently considered valid. Any invalid interpolators wil...
abstract void Interpolate(float percent)
Called to trigger the interpolation of this interpolator. Use this callback to do whatever work your ...
GradientInterpolatorBase Init(Gradient gradient)
float length
Returns the 'length' of this interpolator, in whatever units make sense for this interpolator....
abstract bool isValid
Returns whether or not this interpolator is currently considered valid. Any invalid interpolators wil...
InterpolatorBase< ValueType, ObjType > Init(ValueType a, ValueType b, ObjType target)
abstract float length
Returns the 'length' of this interpolator, in whatever units make sense for this interpolator....
abstract void Interpolate(float percent)
Called to trigger the interpolation of this interpolator. Use this callback to do whatever work your ...
new QuaternionInterpolatorBase< ObjType > Init(Quaternion a, Quaternion b, ObjType target)
new Vector2InterpolatorBase< ObjType > Init(Vector2 a, Vector2 b, ObjType target)
new Vector3InterpolatorBase< ObjType > Init(Vector3 a, Vector3 b, ObjType target)
new Vector4InterpolatorBase< ObjType > Init(Vector4 a, Vector4 b, ObjType target)
Implement this interface to add your own interpolators to Tween!