Method Negate
Negate(Vector2)
Reverses the direction of a given vector.
Declaration
public static Vector2 Negate(Vector2 value)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | value | The vector to negate. |
Returns
Type | Description |
---|---|
Vector2 | A vector facing in the opposite direction. |