Navigation
API > API/Plugins > API/Plugins/InstancedActors > API/Plugins/InstancedActors/UInstancedActorsComponent
References
| Module | InstancedActors |
| Header | /Engine/Plugins/Runtime/InstancedActors/Source/InstancedActors/Public/InstancedActorsComponent.h |
| Include | #include "InstancedActorsComponent.h" |
template<typename... FragmentTypes>
void AddOrUpdatePersistentFragmentsDeferred
(
FragmentTypes &&... NewFragments
)
Remarks
If HasMassEntity(), adds or updates existing FragmentTypes for this Instanced Actor's Mass entity, then requests a persistent data resave once the fragments are updated. Performed deferred using FMassCommandBuffer to safely add fragments, as Mass may currently be performing parallel processing. Note: The fragments are not automatically persisted (yet), it is assumed some other mechanism will read the new fragment values during the persistence resave, e.g: SerializeInstancePersistenceData