Navigation
API > API/Plugins > API/Plugins/PCG
All points are in contiguous memory so this will create a bitset to just look up the index to set/test a bit this should reduce the 'set' cost to O[1]
| Name | FPointBitSet |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSelfPruning.h |
| Include Path | #include "Elements/PCGSelfPruning.h" |
Syntax
struct FPointBitSet
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bits | TArray< uint32 > | Elements/PCGSelfPruning.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
int32 Index |
Elements/PCGSelfPruning.h | ||
| Elements/PCGSelfPruning.h | |||
bool Contains
(
int32 Index |
Elements/PCGSelfPruning.h | ||
| Elements/PCGSelfPruning.h | |||
void Initialize
(
int32 NumPoints |
Elements/PCGSelfPruning.h | ||
void Initialize
(
const TArray< FPCGPoint >& Points |
Elements/PCGSelfPruning.h |