Navigation
API > API/Plugins > API/Plugins/MassActors > API/Plugins/MassActors/FMassActorFragment
Description
Set the actor associated to a mass agent, will NOT keep map back in MassActorSubsystem up to date. The user needs to do the map update by hand. Useful in multithreaded environment, to queue the update of the map inside a deferred command
| Name | SetNoHandleMapUpdate |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassActors/Public/MassActorSubsystem.h |
| Include Path | #include "MassActorSubsystem.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassActors/Private/MassActorSubsystem.cpp |
void SetNoHandleMapUpdate
(
const FMassEntityHandle MassAgent,
AActor * InActor,
const bool bInIsOwnedByMass
)
Parameters
| Name | Remarks |
|---|---|
| MassAgent | to associated with the actor |
| InActor | the actor associated with the mass agent |
| bInIsOwnedByMass | tell whether the actors was spawned by mass(MassVisualization) or externally(ReplicatedActors) |