Class Vector2ValueMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Values
Lerps a Vector2 value.
public class Vector2ValueMotion : AbstractValueMotion<Vector2>, ITweenMotion, IMotion
- Inheritance
-
AbstractEventMotion<Vector2>AbstractValueMotion<Vector2>Vector2ValueMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
Vector2ValueMotion(Vector2, Vector2, Action<Vector2>)
public Vector2ValueMotion(Vector2 from, Vector2 to, Action<Vector2> onUpdated)
Parameters
from
Vector2to
Vector2onUpdated
Action<Vector2>
Properties
LerpFunction
protected override Func<Vector2, Vector2, float, Vector2> LerpFunction { get; }