Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UActorComponent
Description
Sets the value of bReplicates without causing other side effects to this instance. This should only be called during component construction.
This method exists only to allow code to directly modify bReplicates to maintain existing behavior.
| Name | SetIsReplicatedByDefault |
| 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 |
void SetIsReplicatedByDefault
(
const bool bNewReplicates
)