Vector2.Negate Method (Microsoft.Xna.Framework)
Creates a new Vector2 that contains the specified vector inversion.
- C#
- VB
- F#
public static void Negate( Vector2 value, out Vector2 result )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- value
-
Type: Microsoft.Xna.Framework.Vector2
Source Vector2.
- result
-
Type: out Microsoft.Xna.Framework.Vector2
The result of the vector inversion as an output parameter.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web