Partilhar via


Vector2.Subtract(Vector2, Vector2) Método

Definição

Subtrai o segundo vetor da primeiro.

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

Parâmetros

left
Vector2

O primeiro vetor.

right
Vector2

O segundo vetor.

Retornos

O vetor de diferença.

Aplica-se a