UAutomationBlueprintFunctionLibrary::CompareImageAgainstReference

Request image comparison.

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

References

   
Module FunctionalTesting
Header /Engine/Source/Developer/FunctionalTesting/Public/AutomationBlueprintFunctionLibrary.h
Include #include "AutomationBlueprintFunctionLibrary.h"
Source /Engine/Source/Developer/FunctionalTesting/Private/AutomationBlueprintFunctionLibrary.cpp
static bool CompareImageAgainstReference
(
    [FString](API\Runtime\Core\Containers\FString) ImageFilePath,
    [FString](API\Runtime\Core\Containers\FString) ComparisonName,
    [EComparisonTolerance](API\Developer\FunctionalTesting\EComparisonTolerance) ComparisonTolerance,
    [FString](API\Runtime\Core\Containers\FString) ComparisonNotes,
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * WorldContextObject
)

Remarks

Request image comparison. True if comparison was successfully enqueued

Parameters

Name Description
ImageFilePath Absolute path to the image location. All 8bit RGBA channels supported formats by the engine are accepted.
ComparisonName Optional name for the comparison, by default the basename of ImageFilePath is used

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library