Vector2.Subtraction Method (Microsoft.Xna.Framework)
Subtracts a Vector2 from a Vector2.
- C#
- VB
- F#
public static Vector2 Subtraction( Vector2 value1, Vector2 value2 )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- value1
-
Type: Microsoft.Xna.Framework.Vector2
Source Vector2 on the left of the sub sign.
- value2
-
Type: Microsoft.Xna.Framework.Vector2
Source Vector2 on the right of the sub sign.
Return Value
Type: Microsoft.Xna.Framework.Vector2Result of the vector subtraction.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web