Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
Description
Destroys all the entities in the provided array of entities. The function will also gracefully handle entities that have been reserved but not created yet.
the function doesn't handle duplicates in InEntities.
| Name | BatchDestroyEntities |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include Path | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
void BatchDestroyEntities
(
TConstArrayView< FMassEntityHandle > InEntities
)
Parameters
| Name | Remarks |
|---|---|
| InEntities | to destroy |