RectExtensions
Static Class in Zigurous.Math
Declaration
public static class RectExtensionsDescription
Extension methods for Rect.
Extension Methods
| Contains | Determines if the rect fully contains another rect. |
| Encapsulate | Grows the rect to fully encapsulate another rect. |
| Lerp | Linearly interpolates between the rect's minimum and maximum values along each axis. |
| LerpUnclamped | Linearly interpolates between the rect's 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 rect's minimum and maximum values. |