Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityQuery
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetNumMatchingEntities () |
Goes through ValidArchetypes and sums up the number of entities contained in them. | MassEntityQuery.h | |
int32 GetNumMatchingEntities
(
TConstArrayView< FMassArchetypeEntityCollection > EntityCollections |
Sums the entity range lengths for each collection in EntityCollections, where the collection's archetype matches the query's requirements. | MassEntityQuery.h | |
int32 GetNumMatchingEntities
(
FMassEntityManager& InEntityManager |
MassEntityQuery.h |
GetNumMatchingEntities()
Description
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
| Name | GetNumMatchingEntities |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include Path | #include "MassEntityQuery.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityQuery.cpp |
int32 GetNumMatchingEntities()
the number of entities this given query would process if called "now"
GetNumMatchingEntities(TConstArrayView< FMassArchetypeEntityCollection >)
Description
Sums the entity range lengths for each collection in EntityCollections, where the collection's archetype matches the query's requirements.
| Name | GetNumMatchingEntities |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include Path | #include "MassEntityQuery.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityQuery.cpp |
int32 GetNumMatchingEntities
(
TConstArrayView< FMassArchetypeEntityCollection > EntityCollections
)
the number of entities this given query would process if called "now" for EntityCollections
GetNumMatchingEntities(FMassEntityManager &)
| Name | GetNumMatchingEntities |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityQuery.h |
| Include Path | #include "MassEntityQuery.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityQuery.cpp |
int32 GetNumMatchingEntities
(
FMassEntityManager & InEntityManager
)