Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UEnum
Description
Finds the localized display name or native display name as a fallback. If called from a cooked build this will normally return the short name as Metadata is not available.
| Name | GetDisplayNameTextByIndex |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Enum.cpp |
virtual FText GetDisplayNameTextByIndex
(
int32 InIndex
) const
The display name for this object, or an empty text if Index is invalid
Parameters
| Name | Remarks |
|---|---|
| InIndex | Index of the enum value to get Display Name for |