Class AbstractValueMotion<T>
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Values
public abstract class AbstractValueMotion<T> : AbstractEventMotion<T>, ITweenMotion, IMotion where T : struct
Type Parameters
T
- Inheritance
-
AbstractValueMotion<T>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
AbstractValueMotion(T, T, Action<T>)
protected AbstractValueMotion(T from, T to, Action<T> onUpdated)
Parameters
from
Tto
TonUpdated
Action<T>
Properties
LerpFunction
protected abstract Func<T, T, float, T> LerpFunction { get; }
Property Value
Methods
OnUpdate(float)
public override void OnUpdate(float t)
Parameters
t
float