BoundsExtensions.LerpUnclamped
Extension Method in BoundsExtensions
Declaration
public static Vector3 LerpUnclamped(this Bounds bounds, Vector3 t)
Description
Linearly interpolates between the bounds' minimum and maximum values along each axis with no limit to t
.
Parameters
bounds | The bounds to interpolate between. |
t | The interpolation value for each axis. |
Returns
Vector3 | The position as a result of the interpolation. |
Overload
Declaration
public static Vector3Int LerpUnclamped(this BoundsInt bounds, Vector3 t)
Description
Linearly interpolates between the bounds' minimum and maximum values along each axis with no limit to t
.
Parameters
bounds | The bounds to interpolate between. |
t | The interpolation value for each axis. |
Returns
Vector3Int | The position as a result of the interpolation. |