Navigation
API > API/Developer > API/Developer/FunctionalTesting
Inheritance Hierarchy
- AActor
- AFunctionalTest
- AScreenshotFunctionalTestBase
- AScreenshotFunctionalTest
- AEditorScreenshotFunctionalTest
References
| Module | FunctionalTesting |
| Header | /Engine/Source/Developer/FunctionalTesting/Classes/ScreenshotFunctionalTest.h |
| Include | #include "ScreenshotFunctionalTest.h" |
Syntax
UCLASS (Blueprintable)
class AScreenshotFunctionalTest : public AScreenshotFunctionalTestBase
Remarks
No UI
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCameraCutOnScreenshotPrep | Tests not relying on temporal effects can force a camera cut to flush stale data. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
AScreenshotFunctionalTest
(
const FObjectInitializer& ObjectInitializer |
Overridden from AScreenshotFunctionalTestBase
| Type | Name | Description | |
|---|---|---|---|
| void | OnScreenShotCaptured
(
int32 InSizeX, |
Pass screenshot pixels and meta data to FAutomationTestFramework. | |
| void | Call RestoreViewport and finish this test. | ||
| void | Doesn't actually request in base class. It simply register OnScreenshotCaptured. | ||
| void | Serialize
(
FArchive& Ar |
Overridden from AFunctionalTest
| Type | Name | Description | |
|---|---|---|---|
| bool | Handle screenshot delay. | ||
| void | PrepareTest () |
Set player view target to screenshot camera and call PrepareForScreenshot. | |
| bool | RunTest
(
const TArray< FString >& Params |
||
| void | Tick
(
float DeltaSeconds |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EVariantType |