共用方式為


Vector3.MaxNumber(Vector3, Vector3) 方法

定義

比較每個元素的兩個向量,以計算如果專案是 NaN,則會傳回另一個值。

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

參數

value1
Vector3
value2
Vector3

傳回

如果對應專案大於 right,則為來自 left 的向量;否則,right

適用於