SExternalImageReference

This widget shows an external image preview of a per-project configurable image (one where the engine provides a default, but each project may have its own override)

Unreal Engine C++ API Reference > Developer > SharedSettingsWidgets

Inheritance Hierarchy

References

   
Module SharedSettingsWidgets
Header /Engine/Source/Developer/SharedSettingsWidgets/Public/SExternalImageReference.h
Include #include "SExternalImageReference.h"

Syntax

class SExternalImageReference : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget)  

Remarks

This widget shows an external image preview of a per-project configurable image (one where the engine provides a default, but each project may have its own override)

Variables

Type Name Description
FString BaseFilename The image on disk that we will use if the override does not exist.
bool bDeletePreviousTargetWhenExtensionChanges If true, the previous target image will be deleted if the file extension changes
bool bDeleteTargetWhenDefaultChosen If true, the target image will be deleted if the default is chosen
TArray< FString... Extensions The extensions supported by this external reference
FText FileDescription The description of the file in question, e.g. 'image' or 'icon', used for error reporting
FOnPostExternal... OnPostExternalImageCopy Delegate fired after an image has been copied
FOnPreExternalI... OnPreExternalImageCopy Delegate fired before an image has been copied
FString OverrideFilename The image on disk that the override image is stored as.
TSharedPtr< cla... PropertyHandle A property handle to use if required

Functions

Type Name Description
void Construct ( const FArguments& InArgs, const FString& InBaseFilename, const FString& InOverrideFilename )  
bool HandleExternalImagePicked ( const FString& InChosenImage, const FString& InTargetImage ) Delegate handler for when an image is picked

Classes

Type Name Description
Public struct FArguments  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library