Method Interp
Interp(Vector2, Vector2, float)
Interpolates between two Vector2
values.
Declaration
public override void Interp(Vector2 from, Vector2 to, float t)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | from | The start value |
Vector2 | to | The end value |
float | t | The interpolation factor in range [0,1] |