Method Abs
Abs(Vector2)
Returns the component-wise absolute value of this vector [abs(x), abs(y)].
Declaration
public static Vector2 Abs(this Vector2 vector)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | vector | The vector whose absolute value will be returned. |
Returns
| Type | Description |
|---|---|
| Vector2 | The component-wise absolute value of this vector. |