Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< FEntityCreationContext > BatchCreateReservedEntities
(
const FMassArchetypeHandle& ArchetypeHandle, |
MassEntityManager.h | ||
TSharedRef< FEntityCreationContext > BatchCreateReservedEntities
(
const FMassArchetypeHandle& ArchetypeHandle, |
A version of CreateEntity that's creating a number of entities (Count) in one go | MassEntityManager.h |
BatchCreateReservedEntities(const FMassArchetypeHandle &, TConstArrayView< FMassEntityHandle >)
| Name | BatchCreateReservedEntities |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include Path | #include "MassEntityManager.h" |
TSharedRef < FEntityCreationContext > BatchCreateReservedEntities
(
const FMassArchetypeHandle & ArchetypeHandle,
TConstArrayView< FMassEntityHandle > OutEntities
)
BatchCreateReservedEntities(const FMassArchetypeHandle &, const FMassArchetypeSharedFragmentValues &, TConstArrayView< FMassEntityHandle >)
Description
A version of CreateEntity that's creating a number of entities (Count) in one go
| Name | BatchCreateReservedEntities |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include Path | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
TSharedRef < FEntityCreationContext > BatchCreateReservedEntities
(
const FMassArchetypeHandle & ArchetypeHandle,
const FMassArchetypeSharedFragmentValues & SharedFragmentValues,
TConstArrayView< FMassEntityHandle > ReservedEntities
)
a creation context that will notify all the interested observers about newly created fragments once the context is released
Parameters
| Name | Remarks |
|---|---|
| ArchetypeHandle | 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. |