Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetNodeHelperLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetNodeHelperLibrary.h |
| Include | #include "Kismet/KismetNodeHelperLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetNodeHelperLibrary.cpp |
UFUNCTION (BlueprintCallable, Meta=(BlueprintInternalUseOnly="TRUE", NotBlueprintThreadSafe))
static int32 GetUnmarkedBit
(
int32 Data,
int32 StartIdx,
int32 NumBits,
bool bRandom
)
Remarks
Gets an already unmarked bit and returns the bit index selected
- The index that was selected (returns INDEX_NONE if there was no unmarked bits to choose from)
Parameters
| Name | Description |
|---|---|
| Data | The integer containing the bits that are being set |
| StartIdx | The index to start with when determining the selection' |
| NumBits | The logical number of bits we want to track |
| bRandom | Whether to select a random index or not |