Table of Contents

Class Vector2ValueMotion

Lerps a Vector2 value.

public class Vector2ValueMotion : AbstractValueMotion<Vector2>, ITweenMotion, IMotion
Inheritance
Vector2ValueMotion
Implements
Inherited Members
Extension Methods

Constructors

Vector2ValueMotion(Vector2, Vector2, Action<Vector2>)

public Vector2ValueMotion(Vector2 from, Vector2 to, Action<Vector2> onUpdated)

Parameters

from Vector2
to Vector2
onUpdated Action<Vector2>

Properties

LerpFunction

protected override Func<Vector2, Vector2, float, Vector2> LerpFunction { get; }

Property Value

Func<Vector2, Vector2, float, Vector2>