BoundsExtensions.Lerp
Extension Method in BoundsExtensions
Declaration
public static Vector3 Lerp(this Bounds bounds, Vector3 t)
Description
Linearly interpolates between the bounds' minimum and maximum values along each axis.
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 Lerp(this BoundsInt bounds, Vector3 t)
Description
Linearly interpolates between the bounds' minimum and maximum values along each axis.
Parameters
bounds | The bounds to interpolate between. |
t | The interpolation value for each axis. |
Returns
Vector3Int | The position as a result of the interpolation. |