Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityQuery
Description
Sets a chunk filter condition that will be applied to each chunk of all valid archetypes. Note that this condition won't be applied when a specific entity collection is used (via FMassArchetypeEntityCollection ) The value returned by InFunction controls whether to allow execution (true) or block it (false).
| Name | SetChunkFilter |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include Path | #include "MassEntityQuery.h" |
void SetChunkFilter
(
const FMassChunkConditionFunction & InFunction
)