Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include |
#include "UObject/Class.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/Enum.cpp |
int32 GetIndexByName
(
FName InName,
EGetByNameFlags Flags
) const
Gets index of name in enum, returns INDEX_NONE and optionally errors when name is not found. This is faster than ByNameString if the FName is exact, but will fall back if needed