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