Vector2.Subtract(Vector2, Vector2) Metodo

Definizione

Sottrae il secondo vettore dal primo.

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

Parametri

left
Vector2

Primo vettore.

right
Vector2

Secondo vettore.

Restituisce

Vettore differenza.

Si applica a