Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UActorComponent
Description
Allows a component to replicate other subobject on the actor. Must return true if any data gets serialized into the bunch. This method is used only when bReplicateUsingRegisteredSubObjectList is false. Otherwise this function is not called and only the ReplicatedSubObjects list is used.
| Name | ReplicateSubobjects |
| 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 |
virtual bool ReplicateSubobjects
(
class UActorChannel * Channel,
class FOutBunch * Bunch,
FReplicationFlags * RepFlags
)