Navigation
API > API/Plugins > API/Plugins/InstancedActors > API/Plugins/InstancedActors/UInstancedActorsComponent
Description
Returns true if this Actor was spawned by the Instanced Actor system for a Mass Entity. On servers, MassEntityHandle will be set in UInstancedActorsComponent::InitializeComponent (before component BeginPlay) On clients, MassEntityHandle will be set after component BeginPlay, as the link between Entity <-> Actor isn't made until both the actor has replicated to the client (recieving BeginPlay in the process) and the client Mass simulation attempts to spawn an actor itself, whereupon the replicated actor is then returned for the client spawn request.
| Name | HasMassEntity |
| Type | function |
| Header File | /Engine/Plugins/Runtime/InstancedActors/Source/InstancedActors/Public/InstancedActorsComponent.h |
| Include Path | #include "InstancedActorsComponent.h" |
UFUNCTION (BlueprintPure, Category=InstancedActors)
bool HasMassEntity() const