Vector3.MaxMagnitude(Vector3, Vector3) 方法

定义

将两个向量与计算进行比较,每个元素具有更大的数量级。

public:
 static System::Numerics::Vector3 MaxMagnitude(System::Numerics::Vector3 value1, System::Numerics::Vector3 value2);
public static System.Numerics.Vector3 MaxMagnitude (System.Numerics.Vector3 value1, System.Numerics.Vector3 value2);
static member MaxMagnitude : System.Numerics.Vector3 * System.Numerics.Vector3 -> System.Numerics.Vector3
Public Shared Function MaxMagnitude (value1 As Vector3, value2 As Vector3) As Vector3

参数

value1
Vector3
value2
Vector3

返回

如果相应元素的量级大于 right,则其来自 left;否则,right

适用于