Vector2.LessThanAll(Vector2, Vector2) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較兩個向量以判斷所有元素是否都較小。
public:
static bool LessThanAll(System::Numerics::Vector2 left, System::Numerics::Vector2 right);
public static bool LessThanAll(System.Numerics.Vector2 left, System.Numerics.Vector2 right);
static member LessThanAll : System.Numerics.Vector2 * System.Numerics.Vector2 -> bool
Public Shared Function LessThanAll (left As Vector2, right As Vector2) As Boolean
參數
- left
- Vector2
要與 比較 right的向量。
- right
- Vector2
要與 比較 left的向量。
傳回
true 若 中 left 所有元素都小於對 right應的元素。