UReplicationGraphNode_AlwaysRelevant_ForConnection

Adds actors that are always relevant for a connection.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ReplicationGraph

Header

/Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraph.h

Include

#include "ReplicationGraph.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UReplicationGraphNode_AlwaysRelevant_ForConnection : public UReplicationGraphNode_ActorList

Remarks

Adds actors that are always relevant for a connection. This engine version just adds the PlayerController and ViewTarget (usually the pawn)

Variables

Name Description

Public variable UProperty

TArray< FAlways...

 

PastRelevantActors

List of previously (or currently if nothing changed last tick) focused actor data per connection

Public variable

FActorRepListRe...

 

ReplicationActorList

Rebuilt-every-frame list based on UNetConnection state

Overridden from UReplicationGraphNode

Name Description

Public function Virtual

void

 

GatherActorListsForConnection

(
    const FConnectionGatherActorListPar...
)

Protected function Virtual Const

void

 

OnCollectActorRepListStats

(
    FActorRepListStatCollector& StatsC...
)

Implement this to visit any FActorRepListRefView and FStreamingLevelActorListCollection your node implemented.

Public function Virtual

void

 

TearDown()

Mark the node and all its children PendingKill

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