AFunctionalUIScreenshotTest

Unreal Engine C++ API Reference > Developer > FunctionalTesting

Inheritance Hierarchy

References

   
Module FunctionalTesting
Header /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalUIScreenshotTest.h
Include #include "FunctionalUIScreenshotTest.h"

Syntax

class AFunctionalUIScreenshotTest : public [AScreenshotFunctionalTestBase](API\Developer\FunctionalTesting\AScreenshotFunctionalTestBase)  

Variables

Type Name Description
bool bHideDebugCanvas  
TObjectPtr< UTe... ScreenshotRT  
TObjectPtr< UUs... SpawnedWidget  
TSubclassOf< UU... WidgetClass  
EWidgetTestAppe... WidgetLocation  

Constructors

Type Name Description
  AFunctionalUIScreenshotTest ( const FObjectInitializer& ObjectIn... )  

Overridden from AScreenshotFunctionalTestBase

Type Name Description
void OnScreenshotTakenAndCompared () Call RestoreViewport and finish this test.
void RequestScreenshot () Doesn't actually request in base class. It simply register OnScreenshotCaptured.

Overridden from AFunctionalTest

Type Name Description
bool IsReady_Implementation () Handle screenshot delay.
void PrepareTest () Set player view target to screenshot camera and call PrepareForScreenshot.

Overridden from AActor

Type Name Description
void EndPlay ( const EEndPlayReason::Type EndPlayR... ) Overridable function called whenever this actor is being removed from a level
void Tick ( float DeltaSeconds ) Function called every frame on this Actor.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library