Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
Description
Copies values from FragmentInstanceList over to target entity's fragment. Caller is responsible for ensuring that the given entity does have given fragments. Failing this assumption will cause a check-fail.
| Name | SetEntityFragmentValues |
| 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 SetEntityFragmentValues
(
FMassEntityHandle EntityHandle,
TArrayView < const FInstancedStruct > FragmentInstanceList
)
Parameters
| Name | Remarks |
|---|---|
| EntityHandle | idicates the target entity |