Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager > API/Runtime/MassEntity/FMassEntityManager/CreateEntity
References
| Module | MassEntity |
| Header | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
FMassEntityHandle CreateEntity
(
const FMassArchetypeHandle & ArchetypeHandle,
const FMassArchetypeSharedFragmentValues & SharedFragmentValues
)
Remarks
Creates fully built entity ready to be used by the subsystem FMassEntityHandle id of the newly created entity
Parameters
| Name | Description |
|---|---|
| ArchetypeHandle | you want this entity to be |
| SharedFragmentValues | to be associated with the entity |