Vector2.Dot(Vector2, Vector2) Metodo

Definizione

Restituisce il prodotto scalare di due vettori.Returns the dot product of two vectors.

public:
 static float Dot(System::Numerics::Vector2 value1, System::Numerics::Vector2 value2);
public static float Dot (System.Numerics.Vector2 value1, System.Numerics.Vector2 value2);
static member Dot : System.Numerics.Vector2 * System.Numerics.Vector2 -> single
Public Shared Function Dot (value1 As Vector2, value2 As Vector2) As Single

Parametri

value1
Vector2

Primo vettore.The first vector.

value2
Vector2

Secondo vettore.The second vector.

Restituisce

Single

Prodotto scalare.The dot product.

Si applica a