Navigation
API > API/Runtime > API/Runtime/Engine
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 Note that the property data is never stored in memory on the simulated clients
| Name | ABandwidthTestActor |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/BandwidthTestActor.h |
| Include Path | #include "Net/BandwidthTestActor.h" |
Syntax
UCLASS (Transient, NotPlaceable)
class ABandwidthTestActor : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ABandwidthTestActor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ABandwidthTestActor() |
Net/BandwidthTestActor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BandwidthGenerator | FBandwidthTestGenerator | Net/BandwidthTestActor.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void StartBandwidthSpike
(
float SpikeInKilobytes, |
Net/BandwidthTestActor.h | ||
void StartGeneratingBandwidth
(
float BandwidthInKilobytesPerSec |
Net/BandwidthTestActor.h | ||
void StopGeneratingBandwidth() |
Net/BandwidthTestActor.h |