Vector2.LastIndexOfWhereAllBitsSet(Vector2) 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 last element in a vector that has all bits set.
public:
static int LastIndexOfWhereAllBitsSet(System::Numerics::Vector2 vector);
public static int LastIndexOfWhereAllBitsSet(System.Numerics.Vector2 vector);
static member LastIndexOfWhereAllBitsSet : System.Numerics.Vector2 -> int
Public Shared Function LastIndexOfWhereAllBitsSet (vector As Vector2) As Integer
Parameters
- vector
- Vector2
The vector whose elements are being checked.
Returns
The index into vector representing the last element that had all bits set; otherwise, -1 if no such element exists.