Navigation
API > API/Plugins > API/Plugins/MassActors > API/Plugins/MassActors/FMassActorFragment
References
| Module | MassActors |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassActors/Public/MassActorSubsystem.h |
| Include | #include "MassActorSubsystem.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassActors/Private/MassActorSubsystem.cpp |
void SetAndUpdateHandleMap
(
const FMassEntityHandle MassAgent,
AActor * InActor,
const bool bInIsOwnedByMass
)
Remarks
Set the actor associated to a mass agent, will also keep the map back in MassActorSubsystem up to date.
Parameters
| Name | Description |
|---|---|
| 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) |