RectExtensions.LerpUnclamped
Extension Method in RectExtensions
Declaration
public static Vector2 LerpUnclamped(this Rect rect, Vector2 t)
Description
Linearly interpolates between the rect's minimum and maximum values along each axis with no limit to t
.
Parameters
rect | The rect to interpolate between. |
t | The interpolation value for each axis. |
Returns
Vector2 | The position as a result of the interpolation. |