Add Method (Vector2, Vector2)
Collapse the table of content
Expand the table of content

Vector2.Add Method (Vector2, Vector2)

Adds two vectors.

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

public static Vector2 Add (
         Vector2 value1,
         Vector2 value2
)

Parameters

value1
Source vector.
value2
Source vector.

Return Value

Sum of the source vectors.

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

Community Additions

ADD
Show:
© 2016 Microsoft