[]
Reverses the direction of the vector.
public static void NegateRef(ref Vector2 value)
Type | Name | Description |
---|---|---|
Vector2 | value | The vector to negate. |
Reverses the direction of a given vector.
public static void NegateRef(out Vector2 result, ref Vector2 value)
Type | Name | Description |
---|---|---|
Vector2 | result | When the method completes, contains a vector facing in the opposite direction. |
Vector2 | value | The vector to negate. |