AScreenshotFunctionalTestBase::OnScreenShotCaptured

Pass screenshot pixels and meta data to [FAutomationTestFramework](API\Runtime\Core\Misc\FAutomationTestFramework).

Unreal Engine C++ API Reference > Developer > FunctionalTesting > AScreenshotFunctionalTestBase

References

   
Module FunctionalTesting
Header /Engine/Source/Developer/FunctionalTesting/Classes/ScreenshotFunctionalTestBase.h
Include #include "ScreenshotFunctionalTestBase.h"
Source /Engine/Source/Developer/FunctionalTesting/Private/ScreenshotFunctionalTestBase.cpp
void OnScreenShotCaptured
(
    int32 InSizeX,
    int32 InSizeY,
    const [TArray](API\Runtime\Core\Containers\TArray)< [FColor](API\Runtime\Core\Math\FColor) > & InImageData
)

Remarks

Pass screenshot pixels and meta data to FAutomationTestFramework. Register OnComparisonComplete which will be called the automation test system when screenshot comparison is complete


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library