Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityQuery > API/Runtime/MassEntity/FMassEntityQuery/GetNumMatchingEntities
References
| Module | MassEntity |
| Header | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include | #include "MassEntityQuery.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityQuery.cpp |
int32 GetNumMatchingEntities
(
TConstArrayView< FMassArchetypeEntityCollection > EntityCollections
)
Remarks
Sums the entity range lengths for each collection in EntityCollections, where the collection's archetype matches the querie's requirements. the number of entities this given query would process if called "now" for EntityCollections