UActorComponent::SetIsReplicatedByDefault

Sets the value of bReplicates without causing other side effects to this instance.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h

Include

#include "Components/ActorComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/ActorComponent.cpp

Syntax

void SetIsReplicatedByDefault
(
    const bool bNewReplicates
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss