Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/UEnum
- UEnum::GetDisplayNameTextByIndex()
- UUserDefinedEnum::GetDisplayNameTextByIndex()
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include | #include "UObject/Class.h" |
Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Enum.cpp |
virtual FText GetDisplayNameTextByIndex
&40;
int32 InIndex
&41; const
Remarks
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. The display name for this object, or an empty text if Index is invalid
Parameters
Name | Description |
---|---|
InIndex | Index of the enum value to get Display Name for |