Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassArchetypeHandle GetOrCreateSuitableArchetype
(
const FMassArchetypeHandle& ArchetypeHandle, |
MassEntityManager.h | ||
FMassArchetypeHandle GetOrCreateSuitableArchetype
(
const FMassArchetypeHandle& ArchetypeHandle, |
A helper function to be used when creating entities with shared fragments provided, or when adding shared fragments to existing entities | MassEntityManager.h |
GetOrCreateSuitableArchetype(const FMassArchetypeHandle &, const FMassElementBitSet &, const FMassArchetypeCreationParams &)
| Name | GetOrCreateSuitableArchetype |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include Path | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
FMassArchetypeHandle GetOrCreateSuitableArchetype
(
const FMassArchetypeHandle & ArchetypeHandle,
const FMassElementBitSet & SharedElementsBitSet,
const FMassArchetypeCreationParams & CreationParams
)
GetOrCreateSuitableArchetype(const FMassArchetypeHandle &, const FMassSharedFragmentBitSet &, const FMassConstSharedFragmentBitSet &, const FMassArchetypeCreationParams &)
Description
A helper function to be used when creating entities with shared fragments provided, or when adding shared fragments to existing entities
| Name | GetOrCreateSuitableArchetype |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include Path | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
FMassArchetypeHandle GetOrCreateSuitableArchetype
(
const FMassArchetypeHandle & ArchetypeHandle,
const FMassSharedFragmentBitSet & SharedFragmentBitSet,
const FMassConstSharedFragmentBitSet & ConstSharedFragmentBitSet,
const FMassArchetypeCreationParams & CreationParams
)
Parameters
| Name | Remarks |
|---|---|
| ArchetypeHandle | that's the assumed target archetype. But we'll be making sure its composition matches SharedFragmentsBitSet |
| SharedFragmentBitSet | indicates which shared fragments we want the target archetype to have. If ArchetypeHandle doesn't have these a new archetype will be created. |