Vector3.Cross(Vector3, Vector3) 方法

定义

计算两个向量的叉积。

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

参数

vector1
Vector3

第一个向量。

vector2
Vector3

第二个向量。

返回

叉积。

适用于