Navigation
API > API/Developer > API/Developer/FunctionalTesting
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- AFunctionalTest
- AScreenshotFunctionalTestBase
- AFunctionalUIScreenshotTest
References
| Module | FunctionalTesting |
| Header | /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalUIScreenshotTest.h |
| Include | #include "FunctionalUIScreenshotTest.h" |
Syntax
class AFunctionalUIScreenshotTest : public AScreenshotFunctionalTestBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHideDebugCanvas | ||
| TObjectPtr< UTextureRenderTarget2D > | ScreenshotRT | ||
| TObjectPtr< UUserWidget > | SpawnedWidget | ||
| TSubclassOf< UUserWidget > | WidgetClass | ||
| EWidgetTestAppearLocation | WidgetLocation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
AFunctionalUIScreenshotTest
(
const FObjectInitializer& ObjectInitializer |
Overridden from AScreenshotFunctionalTestBase
| Type | Name | Description | |
|---|---|---|---|
| void | Call RestoreViewport and finish this test. | ||
| void | Doesn't actually request in base class. It simply register OnScreenshotCaptured. |
Overridden from AFunctionalTest
| Type | Name | Description | |
|---|---|---|---|
| bool | 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 EndPlayReason |
Overridable function called whenever this actor is being removed from a level | |
| void | Tick
(
float DeltaSeconds |
Function called every frame on this Actor. |