Navigation
API > API/Plugins > API/Plugins/ReplicationGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UReplicationGraphNode
- UReplicationGraphNode_ActorList
- UReplicationGraphNode_DynamicSpatialFrequency
References
| Module | ReplicationGraph |
| Header | /Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraph.h |
| Include | #include "ReplicationGraph.h" |
Syntax
UCLASS&40;&41;
class UReplicationGraphNode_DynamicSpatialFrequency : public UReplicationGraphNode_ActorList
Remarks
A node intended for dynamic (moving) actors where replication frequency is based on distance to the connection's view location
Variables
| Type | Name | Description | |
|---|---|---|---|
| const char * | CSVStatName | ||
| bool | IgnoreCullDistance | ||
| int32 | NumExpectedReplicationsNextFrame | ||
| int32 | NumExpectedReplicationsThisFrame | Working ints for adaptive load balancing. Does not count actors that rep every frame. | |
| FSettings * | Settings | ||
| TArray< FDynamicSpatialFrequency_SortedItem > | SortedReplicationList | Working area for our sorted replication list. Reset each frame for each connection as we build the list. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CalcFrequencyForActor
(
AActor* Actor, |
||
| void | GatherActors
(
const FActorRepListRefView& RepList, |
||
| void | GatherActors_DistanceOnly
(
const FActorRepListRefView& RepList, |
||
| FSettings & | GetSettings () |
Overridden from UReplicationGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | GatherActorListsForConnection
(
const FConnectionGatherActorListParameters& Params |
||
| void | Verify the validity of any potentially stale actor pointers. Used for debugging. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDynamicSpatialFrequency_SortedItem | |||
| FSettings | |||
| FSpatializationZone |
Constants
| Name | Description |
|---|---|
| DefaultSettings |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CalcFrequencyForActor
(
AActor* Actor, |
This function was replaced with a version that needs to receive a UNetReplicationGraphConnection instead of a NetConnection |