BoundsExtensions
Static Class in Zigurous.Math
Declaration
public static class BoundsExtensionsDescription
Extension methods for Bounds.
Extension Methods
| Lerp | Linearly interpolates between the bounds' minimum and maximum values along each axis. |
| LerpUnclamped | Linearly interpolates between the bounds' minimum and maximum values along each axis with no limit to t. |
| InverseLerp | Returns the linear parameter t that produces the interpolant for each axis within the bounds' minimum and maximum values. |
| CalculateScale | Calculates the scale of the bounds required to fit inside another bounds. |
| RandomPointInside | Returns a random point inside the bounds. |