Navigation
API > API/Plugins > API/Plugins/MassEntity > API/Plugins/MassEntity/FMassEntityManager > API/Plugins/MassEntity/FMassEntityManager/CreateEntity
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 |
FMassEntityHandle CreateEntity
&40;
TConstArrayView< FInstancedStruct > FragmentInstanceList,
const FMassArchetypeSharedFragmentValues & SharedFragmentValues,
const FName ArchetypeDebugName
&41;
Remarks
Creates fully built entity ready to be used by the subsystem FMassEntityHandle id of the newly created entity
Parameters
| Name | Description |
|---|---|
| FragmentInstanceList | is the fragments to create the entity from and initialize values |
| SharedFragmentValues | to be associated with the entity |
| ArchetypeDebugName | Name to identify the archetype while debugging |