NegateRef(Vector2,Vector2) Method
In This Topic
Reverses the direction of a given vector.
Syntax
'Declaration
Public Overloads Shared Sub NegateRef( _
ByRef As Vector2, _
ByRef As Vector2 _
)
public static void NegateRef(
out Vector2 ,
ref Vector2
)
Parameters
- result
- When the method completes, contains a vector facing in the opposite direction.
- value
- The vector to negate.
See Also