Skip to content

Instantly share code, notes, and snippets.

View BaeMinCheon's full-sized avatar
🎮
Developing a game

Ross Bae BaeMinCheon

🎮
Developing a game
View GitHub Profile
@BaeMinCheon
BaeMinCheon / RichTextBlockSomeWidgetDecorator.cpp
Last active August 4, 2022 15:17
Custom RichTextBlockDecorator example code #2
// https://baemincheon.github.io/2022/07/28/how-the-rich-text-block-works-in-unrealengine/
#include "UObject/SoftObjectPtr.h"
#include "Rendering/DrawElements.h"
#include "Framework/Text/SlateTextRun.h"
#include "Framework/Text/SlateTextLayout.h"
#include "Slate/SlateGameResources.h"
#include "Widgets/SCompoundWidget.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Framework/Application/SlateApplication.h"
@BaeMinCheon
BaeMinCheon / RichTextBlockSomeWidgetDecorator.h
Last active August 4, 2022 15:17
Custom RichTextBlockDecorator example code #1
// https://baemincheon.github.io/2022/07/28/how-the-rich-text-block-works-in-unrealengine/
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "Fonts/SlateFontInfo.h"
#include "Styling/SlateTypes.h"
#include "Framework/Text/TextLayout.h"