Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassEntityHandle CreateEntity
(
const FMassArchetypeHandle& ArchetypeHandle, |
Creates fully built entity ready to be used by the subsystem | MassEntityManager.h | |
FMassEntityHandle CreateEntity
(
TConstArrayView< FInstancedStruct > FragmentInstanceList, |
Creates fully built entity ready to be used by the subsystem | MassEntityManager.h |
CreateEntity(const FMassArchetypeHandle &, const FMassArchetypeSharedFragmentValues &)
Description
Creates fully built entity ready to be used by the subsystem
| Name | CreateEntity |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include Path | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
FMassEntityHandle CreateEntity
(
const FMassArchetypeHandle & ArchetypeHandle,
const FMassArchetypeSharedFragmentValues & SharedFragmentValues
)
FMassEntityHandle id of the newly created entity
Parameters
| Name | Remarks |
|---|---|
| ArchetypeHandle | you want this entity to be |
| SharedFragmentValues | to be associated with the entity |
CreateEntity(TConstArrayView< FInstancedStruct >, const FMassArchetypeSharedFragmentValues &, const FMassArchetypeCreationParams &)
Description
Creates fully built entity ready to be used by the subsystem
| Name | CreateEntity |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include Path | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
FMassEntityHandle CreateEntity
(
TConstArrayView< FInstancedStruct > FragmentInstanceList,
const FMassArchetypeSharedFragmentValues & SharedFragmentValues,
const FMassArchetypeCreationParams & CreationParams
)
FMassEntityHandle id of the newly created entity
Parameters
| Name | Remarks |
|---|---|
| FragmentInstanceList | is the fragments to create the entity from and initialize values |
| SharedFragmentValues | to be associated with the entity |