Windows apps
Collapse the table of content
Expand the table of content

Vector2::Addition Operator

Adds two vectors together.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Vector2 operator +(
	Vector2 left, 
	Vector2 right
)

Parameters

left
Type: System.Numerics::Vector2

The first vector to add.

right
Type: System.Numerics::Vector2

The second vector to add.

Return Value

Type: System.Numerics::Vector2
The summed vector.

The Addition method defines the addition operation for Vector2 objects.

Show:
© 2017 Microsoft