Containers time complexity

Intro to Unreal Engine containers (TArray, TSet, TMap)

This article may be helpful for those who are familiar with standard containers and would like to learn Unreal-specific ones, or for those who already have a knowledge of the containers but would like to explore them a little deeper. Here is information about the following containers: TArray, TSet, TMap, and a basic overview of the TMultiMap and TSortedMap. TArray Let’s start with TArray. TArray is a dynamically sized array, similar to std::vector in the standard library....

June 5, 2022 · 4 min · Georgy Treshchev

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