Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassArchetypeSharedFragmentValu-
Description
Finds instances of fragment types given by Fragments and replaces their values with contents of respective element of Fragments. Note that it's callers responsibility to ensure every fragment type in Fragments already has an instance in this FMassArchetypeSharedFragmentValues instance. Failing that assumption will result in ensure failure.
| Name | ReplaceSharedFragments |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityTypes.h |
| Include Path | #include "MassEntityTypes.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityTypes.cpp |
void ReplaceSharedFragments
(
TConstArrayView< FSharedStruct > Fragments
)