| UObjectBase
|
Module |
|
Header |
/Engine/Source/Developer/FunctionalTesting/Classes/ScreenshotFunctionalTestBase.h |
Include |
#include "ScreenshotFunctionalTestBase.h" |
class AScreenshotFunctionalTestBase : public AFunctionalTest
Base class for screenshot functional test
Name | Description | ||
---|---|---|---|
|
Notes |
||
|
ScreenshotCamera |
||
|
ScreenshotOptions |
||
|
ViewportRestoreSize |
Name | Description | |
---|---|---|
|
AScreenshotFunctionalTestBase ( |
Name | Description | ||
---|---|---|---|
|
OnComparisonComplete ( |
Do some logging and trigger OnScreenshotTakenAndCompared. |
|
|
OnScreenShotCaptured |
Pass screenshot pixels and meta data to FAutomationTestFramework. |
|
|
OnScreenshotTakenAndCompared() |
Call RestoreViewport and finish this test. |
|
|
PrepareForScreenshot() |
Resize viewport to screenshot size (if possible) and set up screenshot environment (disable AA, etc.) |
|
|
RequestScreenshot() |
Doesn't actually request in base class. It simply register OnScreenshotCaptured. |
|
|
RestoreViewSettings() |
Restore viewport size and original environment settings. |
Name | Description | ||
---|---|---|---|
|
IsReady_Implementation() |
Handle screenshot delay. |
|
|
PrepareTest() |
Set player view target to screenshot camera and call PrepareForScreenshot. |
|
|
StartTest() |
Register OnScreenshotTakenAndCompared and call RequestScreenshot. |
Name | Description | ||
---|---|---|---|
|
CanEditChange ( |
Called by the editor to query whether a property of this object is allowed to be modified. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |