Navigation
Unreal Engine C++ API Reference > 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 |
static int32 GetRandomUnmarkedBit
&40;
int32 Data,
int32 StartIdx,
int32 NumBits
&41;
Remarks
Gets a random not already marked 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 |
NumBits | The logical number of bits we want to track |