共用方式為


Vector2.MinNumber(Vector2, Vector2) 方法

定義

比較每個元素的兩個向量,以計算哪一個向量較小,並在專案 NaN時傳回另一個值。

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

參數

value1
Vector2
value2
Vector2

傳回

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

適用於