ABandwidthTestActor

This [ABandwidthTestActor](API\Runtime\Engine\Net\ABandwidthTestActor) class is used to generate an easily controllable amount of bandwidth.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/BandwidthTestActor.h

Include

#include "Net/BandwidthTestActor.h"

Syntax

class ABandwidthTestActor : public AActor

Remarks

This ABandwidthTestActor class is used to generate an easily controllable amount of bandwidth. It uses property replication to generate it's traffic via a NetDeltaSerializer struct

that the property data is never stored in memory on the simulated clients

Variables

Name Description

Public variable

FBandwidthTestG...

 

BandwidthGenerator

Constructors

Name Description

Public function

ABandwidthTestActor()

Functions

Name Description

Public function

void

 

StartBandwidthSpike

(
    float SpikeInKilobytes,
    int32 PeriodInMS
)

Public function

void

 

StartGeneratingBandwidth

(
    float BandwidthInKilobytesPerSec
)

Public function

void

 

StopGeneratingBandwidth()