Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TBitArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include | #include "Containers/BitArray.h" |
int32 FindAndSetFirstZeroBit
&40;
int32 StartIndex
&41;
Remarks
Finds the first occurrence of a zero bit in the array and sets it to one, returning the bit index. If there are no zero bits in the array, INDEX_NONE is returned. The index of the first occurrence of a zero bit that was successfully set to one, or INDEX_NONE if not found.
Parameters
| Name | Description |
|---|---|
| StartIndex | The index to start the search from. Defaults to 0. |