UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RichTextBlockImageDecorator.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "UObject/Object.h"
14#include "Engine/DataTable.h"
15#include "RichTextBlockImageDecorator.generated.h"
16
17class ISlateStyle;
18
20USTRUCT(Blueprintable, BlueprintType)
22{
24
25public:
26
27 UPROPERTY(EditAnywhere, Category = Appearance)
29};
30
38UCLASS(Abstract, Blueprintable, MinimalAPI)
40{
42
43public:
45
46 UMG_API virtual TSharedPtr<ITextDecorator> CreateDecorator(URichTextBlock* InOwner) override;
47
48 UMG_API virtual const FSlateBrush* FindImageBrush(FName TagOrId, bool bWarnIfMissing);
49
50protected:
51
53
54 UPROPERTY(EditAnywhere, Category=Appearance, meta = (RequiredAssetDataTags = "RowStructure=/Script/UMG.RichImageRow"))
55 TObjectPtr<class UDataTable> ImageSet;
56};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
Definition NameTypes.h:617
Definition UObjectGlobals.h:1292
Definition ISlateStyle.h:18
Definition SharedPointer.h:692
Definition DataTable.h:81
Definition RichTextBlockDecorator.h:46
Definition RichTextBlockImageDecorator.h:40
Definition RichTextBlock.h:40
Definition RichTextBlockImageDecorator.h:22
Definition SlateBrush.h:239
Definition DataTable.h:37
Definition ObjectPtr.h:488