Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FEntityBuilder
Description
Calls the provided Operator function for every stored pending relation data instance. The return value of the Operator is used to determine whether the relation data instance should be kept (meaning: return `false_ for each element you want to remove). The potential element removal is stable.
| Name | ForEachRelation |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityBuilder.h |
| Include Path | #include "MassEntityBuilder.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityBuilder.cpp |
void ForEachRelation
(
const TFunctionRef < bool &)> & Operator
)