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

boundsThe bounds to interpolate between.
tThe interpolation value for each axis.

Returns

Vector3The 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

boundsThe bounds to interpolate between.
tThe interpolation value for each axis.

Returns

Vector3IntThe position as a result of the interpolation.