Navigation
API > API/Developer > API/Developer/FunctionalTesting
No UI
| Name | AScreenshotFunctionalTest |
| Type | class |
| Header File | /Engine/Source/Developer/FunctionalTesting/Classes/ScreenshotFunctionalTest.h |
| Include Path | #include "ScreenshotFunctionalTest.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable)
class AScreenshotFunctionalTest : public AScreenshotFunctionalTestBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AFunctionalTest → AScreenshotFunctionalTestBase → AScreenshotFunctionalTest
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AScreenshotFunctionalTest
(
const FObjectInitializer& ObjectInitializer |
ScreenshotFunctionalTest.h |
Structs
| Name | Remarks |
|---|---|
| FVariantInfo |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCameraCutOnScreenshotPrep | bool | Tests not relying on temporal effects can force a camera cut to flush stale data. | ScreenshotFunctionalTest.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bVariantQueued | bool | ScreenshotFunctionalTest.h | ||
| CurrentVariantName | const TCHAR * | ScreenshotFunctionalTest.h | ||
| RequestedVariants | TBitArray | ScreenshotFunctionalTest.h | ||
| VariantFrame | uint32 | ScreenshotFunctionalTest.h | ||
| VariantRestoreCommand | const TCHAR * | ScreenshotFunctionalTest.h | ||
| VariantTime | float | ScreenshotFunctionalTest.h |
Functions
Public
Overridden from AScreenshotFunctionalTestBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Serialize
(
FArchive& Ar |
ScreenshotFunctionalTest.h |
Protected
Overridden from AScreenshotFunctionalTestBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnScreenShotCaptured
(
int32 InSizeX, |
Pass screenshot pixels and meta data to FAutomationTestFramework. | ScreenshotFunctionalTest.h | |
virtual void OnScreenshotTakenAndCompared() |
Call RestoreViewport and finish this test. | ScreenshotFunctionalTest.h | |
virtual void RequestScreenshot() |
Doesn't actually request in base class. It simply register OnScreenshotCaptured. | ScreenshotFunctionalTest.h |
Overridden from AFunctionalTest
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsReady_Implementation() |
Handle screenshot delay. | ScreenshotFunctionalTest.h | |
virtual void PrepareTest() |
Set player view target to screenshot camera and call PrepareForScreenshot. | ScreenshotFunctionalTest.h | |
virtual bool RunTest
(
const TArray< FString >& Params |
ScreenshotFunctionalTest.h | ||
virtual void Tick
(
float DeltaSeconds |
ScreenshotFunctionalTest.h |