Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityManager
Description
Removes a shared fragment of the given type from the entity. Will do nothing if entity did not have the shared fragment.
| Name | RemoveSharedFragmentFromEntity |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityManager.h |
| Include Path | #include "MassEntityManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityManager.cpp |
bool RemoveSharedFragmentFromEntity
(
const FMassEntityHandle EntityHandle,
const UScriptStruct & SharedFragmentType
)
True if fragment removed from entity, false otherwise.