Vector2.Subtract(Vector2, Vector2) Metoda

Definice

Odečte druhý vektor od prvního.

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

Parametry

left
Vector2

První vektor.

right
Vector2

Druhý vektor.

Návraty

Vektor rozdílu.

Platí pro