Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityQuery
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForEachEntityChunk
(
FMassExecutionContext& ExecutionContext, |
Runs ExecuteFunction on all entities matching Requirements | MassEntityQuery.h | |
void ForEachEntityChunk
(
FMassExecutionContext& ExecutionContext, |
Runs ExecuteFunction on entities matching Requirements up to the EntityLimit specified in the ExecutionLimiter. | MassEntityQuery.h | |
void ForEachEntityChunk
(
const FMassArchetypeEntityCollection& EntityCollection, |
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 | MassEntityQuery.h | |
void ForEachEntityChunk
(
FMassEntityManager& EntityManager, |
MassEntityQuery.h | ||
void ForEachEntityChunk
(
const FMassArchetypeEntityCollection& EntityCollection, |
MassEntityQuery.h |
ForEachEntityChunk(FMassExecutionContext &, const FMassExecuteFunction &)
Description
Runs ExecuteFunction on all entities matching Requirements
| Name | ForEachEntityChunk |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include Path | #include "MassEntityQuery.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityQuery.cpp |
void ForEachEntityChunk
(
FMassExecutionContext & ExecutionContext,
const FMassExecuteFunction & ExecuteFunction
)
ForEachEntityChunk(FMassExecutionContext &, UE::Mass::FExecutionLimiter &, const FMassExecuteFunction &)
Description
Runs ExecuteFunction on entities matching Requirements up to the EntityLimit specified in the ExecutionLimiter. Resumes from last index set in Limiter. Will always complete the current chunk once the limit is reached. Does not account for changes to entity count or organization between iterations (Entities could be skipped). Identical to the unlimited version if the Limit exceeds the number of applicable entities.
| Name | ForEachEntityChunk |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include Path | #include "MassEntityQuery.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityQuery.cpp |
void ForEachEntityChunk
(
FMassExecutionContext & ExecutionContext,
UE::Mass::FExecutionLimiter & Limiter,
const FMassExecuteFunction & ExecuteFunction
)
ForEachEntityChunk(const FMassArchetypeEntityCollection &, FMassExecutionContext &, const FMassExecuteFunction &)
Description
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
| Name | ForEachEntityChunk |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include Path | #include "MassEntityQuery.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityQuery.cpp |
void ForEachEntityChunk
(
const FMassArchetypeEntityCollection & EntityCollection,
FMassExecutionContext & ExecutionContext,
const FMassExecuteFunction & ExecuteFunction
)
ForEachEntityChunk(FMassEntityManager &, FMassExecutionContext &, const FMassExecuteFunction &)
| Name | ForEachEntityChunk |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include Path | #include "MassEntityQuery.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityQuery.cpp |
void ForEachEntityChunk
(
FMassEntityManager & EntityManager,
FMassExecutionContext & ExecutionContext,
const FMassExecuteFunction & ExecuteFunction
)
ForEachEntityChunk(const FMassArchetypeEntityCollection &, FMassEntityManager &, FMassExecutionContext &, const FMassExecuteFunction &)
| Name | ForEachEntityChunk |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include Path | #include "MassEntityQuery.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityQuery.cpp |
void ForEachEntityChunk
(
const FMassArchetypeEntityCollection & EntityCollection,
FMassEntityManager & EntityManager,
FMassExecutionContext & ExecutionContext,
const FMassExecuteFunction & ExecuteFunction
)