Vector2IntExtensions
Static Class in Zigurous.Math
Declaration
public static class Vector2IntExtensionsDescription
Extension methods for Vector2Int.
Extension Methods
| Abs | Returns the absolute value of the vector. |
| Average | Calculates the average of the vectors. |
| Clamp | Clamps the vector to the range [min..max]. |
| Clamped | Clamps the vector to the range [min..max]. |
| SetUniform | Sets all components of the vector to the given value. |
| SetUniformly | Sets all components of the vector to the given value. |
| Wrap | Wraps the vector to the range [min..max]. |
| Wrapped | Wraps the vector to the range [min..max]. |