Vector2.Add(Vector2, Vector2) Vector2.Add(Vector2, Vector2) Vector2.Add(Vector2, Vector2) Vector2.Add(Vector2, Vector2) Method

Definice

Sečte dva vektory. Adds two vectors together.

public:
 static System::Numerics::Vector2 Add(System::Numerics::Vector2 left, System::Numerics::Vector2 right);
public static System.Numerics.Vector2 Add (System.Numerics.Vector2 left, System.Numerics.Vector2 right);
static member Add : System.Numerics.Vector2 * System.Numerics.Vector2 -> System.Numerics.Vector2
Public Shared Function Add (left As Vector2, right As Vector2) As Vector2

Parametry

left
Vector2 Vector2 Vector2 Vector2

Chcete-li přidat prvnímu vektoru. The first vector to add.

right
Vector2 Vector2 Vector2 Vector2

Druhý vektor přidat. The second vector to add.

Návraty

Sečtené vektoru. The summed vector.

Applies to: