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