(See All Tutorials)
Compiler Error: Unrecognized Type for Enums
In UE4 you would do something like this:
UENUM(BlueprintType)
enum class EJoyImageFormats : uint8
{
JPG UMETA(DisplayName="JPG"),
PNG UMETA(DisplayName="PNG"),
BMP UMETA(DisplayName="BMP"),
ICO UMETA(DisplayName="ICO"),
EXR UMETA(DisplayName="EXR"),
ICNS UMETA(DisplayName="ICNS")
};
In UE5 it is this (Cleaner and simpler!):
UENUM(BlueprintType)
enum EJoyImageFormats
{
JPG UMETA(DisplayName="JPG"),
PNG UMETA(DisplayName="PNG"),
BMP UMETA(DisplayName="BMP"),
ICO UMETA(DisplayName="ICO"),
EXR UMETA(DisplayName="EXR"),
ICNS UMETA(DisplayName="ICNS"),
JoyImageFormats_Max UMETA(Hidden),
};
Rama