How to convert Enum to FString in Unreal Engine

This is a short article on how to convert an enumerator to FString in Unreal Engine. Blueprints In Blueprints, it is easy to convert all supported enumerators to FString. Simply drag your enumerator to the required pin, which will automatically add the necessary conversion node. C++ In C++, the implementation varies based on the type of enum used. Unreal Reflection System If you want to use a solution that is compatible with the Unreal Reflection System and accordingly uses UENUM, there is an in-built method named UEnum::GetValueAsString....

May 29, 2022 · 2 min · Georgy Treshchev
An illustrative example with a comparison

How to integrate third-party library into Unreal Engine

Concept There are two main types of libraries: Static and Dynamic (also called Shared). A static library is statically linked to a program and is available at compile time. A dynamic (or shared) library, on the other hand, is dynamically linked and available at runtime. Static linking assumes that the library code is built into the final block of code, unlike dynamic linking. But the process of dynamic linking takes some time....

May 27, 2022 · 7 min · Georgy Treshchev

My first post

Hey! This is my first post with the idea of this blog. I previously had a blog at https://unreal.blog , but I decided to rethink this and create a new one. Here I will primarily write about technical stuff related to C++ and Unreal Engine. I’ll be writing on both simple and complex topics. I also plan to write some more general, non-technical posts, but this won’t be posted often....

May 26, 2022 · 1 min · Georgy Treshchev