TBitArray::FindAndSetFirstZeroBit

Finds the first zero bit in the array, sets it to true, and returns the bit index.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/BitArray.h

Include

#include "Containers/BitArray.h"

Syntax

int32 FindAndSetFirstZeroBit
(
    int32 ConservativeStartIndex
)

Remarks

Finds the first zero bit in the array, sets it to true, and returns the bit index. If there is none, INDEX_NONE is returned.