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;
const FMassArchetypeHandle & ArchetypeHandle,
const FMassArchetypeSharedFragmentValues & SharedFragmentValues
&41;
Remarks
Creates fully built entity ready to be used by the subsystem FMassEntityHandle id of the newly created entity
Parameters
| Name | Description |
|---|---|
| Archetype | you want this entity to be |
| SharedFragmentValues | to be associated with the entity |