Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
Description
Ensures that only unique fragments are added.
It's caller's responsibility to ensure EntityHandle's and FragmentList's validity.
| Name | AddFragmentListToEntity |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include Path | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
void AddFragmentListToEntity
(
FMassEntityHandle EntityHandle,
TConstArrayView< const UScriptStruct * > FragmentList
)