Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassArchetypeHandle CreateArchetype
(
TConstArrayView< const UScriptStruct* > FragmentsAndTagsList, |
A special, relaxed but slower version of CreateArchetype functions that allows FragmentAngTagsList to contain both fragments and tags. | MassEntityManager.h | |
FMassArchetypeHandle CreateArchetype
(
FMassArchetypeHandle SourceArchetype, |
A special, relaxed but slower version of CreateArchetype functions that allows FragmentAngTagsList to contain both fragments and tags. | MassEntityManager.h | |
FMassArchetypeHandle CreateArchetype
(
const FMassArchetypeCompositionDescriptor& Composition, |
CreateArchetype from a composition descriptor and initial values | MassEntityManager.h | |
FMassArchetypeHandle CreateArchetype
(
const TSharedPtr< FMassArchetypeData >& SourceArchetype, |
Creates an archetype like SourceArchetype + InFragments. | MassEntityManager.h | |
FMassArchetypeHandle CreateArchetype
(
FMassArchetypeHandle SourceArchetype, |
A special, relaxed but slower version of CreateArchetype functions that allows FragmentAngTagsList to contain both fragments and tags. | MassEntityManager.h | |
FMassArchetypeHandle CreateArchetype
(
const TSharedPtr< FMassArchetypeData >& SourceArchetype, |
Creates an archetype like SourceArchetype + InFragments. | MassEntityManager.h |
CreateArchetype(TConstArrayView< const UScriptStruct * >, const FMassArchetypeCreationParams &)
Description
A special, relaxed but slower version of CreateArchetype functions that allows FragmentAngTagsList to contain both fragments and tags.
| Name | CreateArchetype |
| 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 CreateArchetype
(
TConstArrayView< const UScriptStruct * > FragmentsAndTagsList,
const FMassArchetypeCreationParams & CreationParams
)
CreateArchetype(FMassArchetypeHandle, TConstArrayView< const UScriptStruct * >)
Description
A special, relaxed but slower version of CreateArchetype functions that allows FragmentAngTagsList to contain both fragments and tags. This version takes an original archetype and copies it layout, then appends any fragments and tags from the provided list if they're not already in the original archetype.
| Name | CreateArchetype |
| 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 CreateArchetype
(
FMassArchetypeHandle SourceArchetype,
TConstArrayView< const UScriptStruct * > FragmentsAndTagsList
)
Parameters
| Name | Remarks |
|---|---|
| SourceArchetype | The archetype where the composition will be copied from. |
| FragmentsAndTagsList | The list of fragments and tags to add to the copied composition. |
CreateArchetype(const FMassArchetypeCompositionDescriptor &, const FMassArchetypeCreationParams &)
Description
CreateArchetype from a composition descriptor and initial values
| Name | CreateArchetype |
| 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 CreateArchetype
(
const FMassArchetypeCompositionDescriptor & Composition,
const FMassArchetypeCreationParams & CreationParams
)
a handle of a new archetype
Parameters
| Name | Remarks |
|---|---|
| Composition | of fragment, tag and chunk fragment types |
| CreationParams | Parameters used during archetype construction |
CreateArchetype(const TSharedPtr< FMassArchetypeData > &, const FMassFragmentBitSet &)
Description
Creates an archetype like SourceArchetype + InFragments.
it's caller's responsibility to ensure that NewFragmentList is not empty and contains only fragment types that SourceArchetype doesn't already have. If the caller cannot guarantee it use of AddFragment functions family is recommended.
| Name | CreateArchetype |
| 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 CreateArchetype
(
const TSharedPtr < FMassArchetypeData > & SourceArchetype,
const FMassFragmentBitSet & InFragments
)
a handle of a new archetype
Parameters
| Name | Remarks |
|---|---|
| SourceArchetype | the archetype used to initially populate the list of fragments of the archetype being created. |
| InFragments | list of unique fragments to add to fragments fetched from SourceArchetype. Note that adding an empty list is not supported and doing so will result in failing a check |
CreateArchetype(FMassArchetypeHandle, TConstArrayView< const UScriptStruct * >, const FMassArchetypeCreationParams &)
Description
A special, relaxed but slower version of CreateArchetype functions that allows FragmentAngTagsList to contain both fragments and tags. This version takes an original archetype and copies it layout, then appends any fragments and tags from the provided list if they're not already in the original archetype.
| Name | CreateArchetype |
| 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 CreateArchetype
(
FMassArchetypeHandle SourceArchetype,
TConstArrayView< const UScriptStruct * > FragmentsAndTagsList,
const FMassArchetypeCreationParams & CreationParams
)
Parameters
| Name | Remarks |
|---|---|
| SourceArchetype | The archetype where the composition will be copied from. |
| FragmentsAndTagsList | The list of fragments and tags to add to the copied composition. |
| CreationParams | Additional arguments used to create the new archetype. |
CreateArchetype(const TSharedPtr< FMassArchetypeData > &, const FMassFragmentBitSet &, const FMassArchetypeCreationParams &)
Description
Creates an archetype like SourceArchetype + InFragments.
it's caller's responsibility to ensure that NewFragmentList is not empty and contains only fragment types that SourceArchetype doesn't already have. If the caller cannot guarantee it use of AddFragment functions family is recommended.
| Name | CreateArchetype |
| 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 CreateArchetype
(
const TSharedPtr < FMassArchetypeData > & SourceArchetype,
const FMassFragmentBitSet & InFragments,
const FMassArchetypeCreationParams & CreationParams
)
a handle of a new archetype
Parameters
| Name | Remarks |
|---|---|
| SourceArchetype | the archetype used to initially populate the list of fragments of the archetype being created. |
| InFragments | list of unique fragments to add to fragments fetched from SourceArchetype. Note that adding an empty list is not supported and doing so will result in failing a check |
| CreationParams | Parameters used during archetype construction |