UKismetNodeHelperLibrary::GetFirstUnmarkedBit

Gets the first index not already marked starting from a specific index and returns the bit index selected

Windows
MacOS
Linux

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

Syntax

static int32 GetFirstUnmarkedBit
(
    int32 Data,
    int32 StartIdx,
    int32 NumBits
)

Remarks

Gets the first index not already marked starting from a specific index and returns the bit index selected

Returns

  • The index that was selected (returns INDEX_NONE if there was no unmarked bits to choose from)

Parameters

Parameter

Description

Data

The integer containing the bits that are being set

StartIdx

The index to start looking for an available index from

NumBits

The logical number of bits we want to track

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss