Vector3.IndexOfWhereAllBitsSet(Vector3) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the index of the first element in a vector that has all bits set.
public:
static int IndexOfWhereAllBitsSet(System::Numerics::Vector3 vector);
public static int IndexOfWhereAllBitsSet(System.Numerics.Vector3 vector);
static member IndexOfWhereAllBitsSet : System.Numerics.Vector3 -> int
Public Shared Function IndexOfWhereAllBitsSet (vector As Vector3) As Integer
Parameters
- vector
- Vector3
The vector whose elements are being checked.
Returns
The index into vector representing the first element that had all bits set; otherwise, -1 if no such element exists.