Navigation
API > API/Plugins > API/Plugins/AutomatedPerfTesting
Inheritance Hierarchy
- UObject
- UGauntletTestController
- UAutomatedPerfTestControllerBase
- UAutomatedMaterialPerfTest
- UAutomatedSequencePerfTest
- UAutomatedSoakTest
- UAutomatedStaticCameraPerfTestBase
- UAutomatedPlacedStaticCameraPerfTest
References
| Module | AutomatedPerfTesting |
| Header | /Engine/Plugins/Performance/AutomatedPerfTesting/Source/AutomatedPerfTesting/Public/AutomatedPerfTestControllerBase.h |
| Include | #include "AutomatedPerfTestControllerBase.h" |
Syntax
UCLASS ()
class UAutomatedPerfTestControllerBase : public UGauntletTestController
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAutomatedPerfTestControllerBase
(
const FObjectInitializer& ObjectInitializer |
Base functionality. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
||
| void | EndAutomatedPerfTest
(
const int32 ExitCode |
||
| void | Exit () |
||
| EAutomatedPerfTestCSVOutputMode | |||
| FString | |||
| AGameModeBase * | GetGameMode () |
||
| FString | |||
| FString | GetTestID () |
||
| FString | GetTestName () |
||
| FString | |||
| void | OnGameStateSet
(
AGameStateBase*const GameStateBase |
||
| void | OnPreWorldInitialize
(
UWorld* World |
||
| void | OnPreWorldInitializeInternal
(
UWorld* World, |
||
| void | OnVideoRecordingFinalized
(
bool Succeeded, |
||
| void | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| void | RunTest () |
||
| void | SetCSVOutputMode
(
EAutomatedPerfTestCSVOutputMode NewOutputMode |
You'll need to set this via your subclass if you want to customize the behavior otherwise it will default to a single CSV per session | |
| void | SetupTest () |
||
| void | TakeScreenshot
(
FString ScreenshotName |
||
| void | TeardownTest
(
bool bExitAfterTeardown |
||
| void | |||
| void | TryEarlyExec
(
UWorld*const World |
||
| bool | TryFinalizingVideoCapture
(
const bool bStopAutoContinue |
||
| bool | |||
| bool | TryStartCSVProfiler
(
FString CSVFileName |
||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| void |
Overridden from UGauntletTestController
| Type | Name | Description | |
|---|---|---|---|
| void | OnInit () |
Called when the controller is first initialized | |
| void | Called prior to a map change | ||
| void | OnStateChange
(
FName OldState, |
Called when a state change is applied to the module. | |
| void | OnTick
(
float TimeDelta |
Called periodically to let the controller check and control state |