Bagikan melalui


Vector3.Dot(Vector3, Vector3) Metode

Definisi

Mengembalikan produk titik dari dua vektor.

public:
 static float Dot(System::Numerics::Vector3 vector1, System::Numerics::Vector3 vector2);
public static float Dot (System.Numerics.Vector3 vector1, System.Numerics.Vector3 vector2);
static member Dot : System.Numerics.Vector3 * System.Numerics.Vector3 -> single
Public Shared Function Dot (vector1 As Vector3, vector2 As Vector3) As Single

Parameter

vector1
Vector3

Vektor pertama.

vector2
Vector3

Vektor kedua.

Mengembalikan

Produk titik.

Berlaku untuk