Vector3.LastIndexOfWhereAllBitsSet(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 last element in a vector that has all bits set.
public:
static int LastIndexOfWhereAllBitsSet(System::Numerics::Vector3 vector);
public static int LastIndexOfWhereAllBitsSet(System.Numerics.Vector3 vector);
static member LastIndexOfWhereAllBitsSet : System.Numerics.Vector3 -> int
Public Shared Function LastIndexOfWhereAllBitsSet (vector As Vector3) As Integer
Parameters
- vector
- Vector3
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.