Navigation
API > API/Plugins > API/Plugins/MassEntity > API/Plugins/MassEntity/FMassEntityQuery > API/Plugins/MassEntity/FMassEntityQuery/ForEachEntityChunk
References
| Module | MassEntity |
| Header | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassEntityQuery.h |
| Include | #include "MassEntityQuery.h" |
| Source | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Private/MassEntityQuery.cpp |
void ForEachEntityChunk
&40;
const FMassArchetypeEntityCollection & Collection,
FMassEntityManager & EntitySubsystem,
FMassExecutionContext & ExecutionContext,
const FMassExecuteFunction & ExecuteFunction
&41;
Remarks
Will first verify that the archetype given with Collection matches the query's requirements, and if so will run the other, more generic ForEachEntityChunk implementation