Navigation
API > API/Plugins > API/Plugins/MassEntity > API/Plugins/MassEntity/FMassEntityQuery
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 |
int32 GetNumMatchingEntities
&40;
FMassEntityManager & InEntityManager
&41;
Remarks
Goes through ValidArchetypes and sums up the number of entities contained in them. Note that the function is not const because calling it can result in re-caching of ValidArchetypes the number of entities this given query would process if called "now"