Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetEntityFragmentValues
(
FMassEntityHandle EntityHandle, |
Copies values from FragmentInstanceList over to target entity's fragment. | MassEntityManager.h | |
void SetEntityFragmentValues
(
FMassEntityHandle EntityHandle, |
MassEntityManager.h |
SetEntityFragmentValues(FMassEntityHandle, TArrayView< const FInstancedStruct >)
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" |
void SetEntityFragmentValues
(
FMassEntityHandle EntityHandle,
TArrayView < const FInstancedStruct > FragmentInstanceList
)
Parameters
| Name | Remarks |
|---|---|
| EntityHandle | indicates the target entity |
SetEntityFragmentValues(FMassEntityHandle, TConstArrayView< TStruct >)
| 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 |
template<UE::Mass::CStructType TStruct>
void SetEntityFragmentValues
(
FMassEntityHandle EntityHandle,
TConstArrayView< TStruct > FragmentInstanceList
)