op_Subtraction Method

Vector2.op_Subtraction Method

Subtracts a vector from a vector.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static Vector2 op_Subtraction (
         Vector2 value1,
         Vector2 value2
)

Parameters

value1
Type: Vector2
Source vector.
value2
Type: Vector2
source vector.

Return Value

Result of the subtraction.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2016 Microsoft