FComparableImage::LoadFile

Populate image by loading an file

Unreal Engine C++ API Reference > Developer > ScreenShotComparisonTools > FComparableImage

References

   
Module ScreenShotComparisonTools
Header /Engine/Source/Developer/ScreenShotComparisonTools/Public/ImageComparer.h
Include #include "ImageComparer.h"
Source /Engine/Source/Developer/ScreenShotComparisonTools/Private/ImageComparer.cpp
bool LoadFile
(
    const [FString](API\Runtime\Core\Containers\FString) & ImagePath,
    [FText](API\Runtime\Core\Internationalization\FText) & OutError
)

Remarks

Populate image by loading an file true if success

Parameters

Name Description
ImagePath Path for the image file to load
OutError Contains the error message if load fails

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library