Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TBitArray > API/Runtime/Core/Containers/TBitArray/SetRangeFromRange
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include | #include "Containers/BitArray.h" |
template<typename OtherAllocator>
void SetRangeFromRange
&40;
int32 Index,
int32 NumBitsToSet,
const TBitArray< OtherAllocator > & ReadBits,
int32 ReadOffsetBits
&41;
Remarks
Sets range of bits within this TBitArray to the values read out another TBitArray.
Parameters
| Name | Description |
|---|---|
| Index | The index of the first bit to set; must be 0 <= Index <= Num(). |
| NumBitsToSet | The number of bits to set, must satisify 0 <= NumBitsToSet && Index + NumBitsToSet <= Num(). |
| ReadBits | The value to set the bits to. |
| ReadOffsetBits | Number of bits into ReadBits at which to start reading. |