Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UActorComponent
Description
Enable or disable replication. This is the equivalent of RemoteRole for actors (only a bool is required for components)
| Name | SetIsReplicated |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
| Include Path | #include "Components/ActorComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/ActorComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components")
void SetIsReplicated
(
bool ShouldReplicate
)