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

适用于