Navigation
API > API/Plugins > API/Plugins/MassEntity > API/Plugins/MassEntity/FMassEntityManager > API/Plugins/MassEntity/FMassEntityManager/BatchCreateReservedEntities
References
| Module | MassEntity |
| Header | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassEntityManager.h |
| Include | #include "MassEntityManager.h" |
| Source | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Private/MassEntityManager.cpp |
TSharedRef< FEntityCreationContext > BatchCreateReservedEntities
&40;
const FMassArchetypeHandle & ArchetypeHandle,
const FMassArchetypeSharedFragmentValues & SharedFragmentValues,
TConstArrayView< FMassEntityHandle > ReservedEntities
&41;
Remarks
A version of CreateEntity that's creating a number of entities (Count) in one go a creation context that will notify all the interested observers about newly created fragments once the context is released
Parameters
| Name | Description |
|---|---|
| Archetype | you want this entity to be |
| SharedFragmentValues | to be associated with the entities |
| ReservedEntities | a list of reserved entities that have not yet been assigned to an archetype. |