Edit

Share via


Vector4.LastIndexOfWhereAllBitsSet(Vector4) Method

Definition

Determines the index of the last element in a vector that has all bits set.

public:
 static int LastIndexOfWhereAllBitsSet(System::Numerics::Vector4 vector);
public static int LastIndexOfWhereAllBitsSet(System.Numerics.Vector4 vector);
static member LastIndexOfWhereAllBitsSet : System.Numerics.Vector4 -> int
Public Shared Function LastIndexOfWhereAllBitsSet (vector As Vector4) As Integer

Parameters

vector
Vector4

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.

Applies to