Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager > API/Runtime/MassEntity/FMassEntityManager/BatchDestroyEntityChunks
References
| Module | MassEntity |
| Header | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
void BatchDestroyEntityChunks
(
const FMassArchetypeEntityCollection & Collection
)
Remarks
Destroys all the entities provided via the Collection. The function will also gracefully handle entities that have been reserved but not created yet.
Parameters
| Name | Description |
|---|---|
| Collection | to destroy |