Vector2.AllWhereAllBitsSet(Vector2) 方法

定义

确定向量的所有元素是否都设置了其所有位。

public:
 static bool AllWhereAllBitsSet(System::Numerics::Vector2 vector);
public static bool AllWhereAllBitsSet(System.Numerics.Vector2 vector);
static member AllWhereAllBitsSet : System.Numerics.Vector2 -> bool
Public Shared Function AllWhereAllBitsSet (vector As Vector2) As Boolean

参数

vector
Vector2

要检查其元素的向量。

返回

true 如果所有元素 vector 都设置了其所有位,则为 ;否则为 false

适用于