Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
References
| Module | MassEntity |
| Header | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
void BatchDestroyEntities
(
TConstArrayView< FMassEntityHandle > InEntities
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| InEntities | to destroy |