Files
UnrealEngineUWP/Engine/Source/Developer/FunctionalTesting/Classes/ScreenshotFunctionalTest.h
T

35 lines
891 B
C++
Raw Normal View History

2018-12-14 13:44:01 -05:00
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
2017-09-18 10:40:18 -04:00
#include "ScreenshotFunctionalTestBase.h"
#include "AutomationScreenshotOptions.h"
#include "ScreenshotFunctionalTest.generated.h"
2017-09-18 10:40:18 -04:00
class FAutomationTestScreenshotEnvSetup;
/**
2017-09-18 10:40:18 -04:00
* No UI
*/
UCLASS(Blueprintable)
2017-09-18 10:40:18 -04:00
class FUNCTIONALTESTING_API AScreenshotFunctionalTest : public AScreenshotFunctionalTestBase
{
GENERATED_BODY()
public:
AScreenshotFunctionalTest(const FObjectInitializer& ObjectInitializer);
virtual void Serialize(FArchive& Ar) override;
// Tests not relying on temporal effects can force a camera cut to flush stale data
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Camera", SimpleDisplay)
bool bCameraCutOnScreenshotPrep;
protected:
virtual void PrepareTest() override;
2017-09-18 10:40:18 -04:00
virtual void RequestScreenshot() override;
};