UEnum::SetMetaData

Set the metadata value associated with the specified key.

Windows
MacOS
Linux

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

Syntax

void SetMetaData
(
    const TCHAR * Key,
    const TCHAR * InValue,
    int32 NameIndex
) const

Remarks

Set the metadata value associated with the specified key.

Parameters

Parameter

Description

Key

the metadata tag to find the value for

NameIndex

if specified, will search the metadata linked for that enum value; otherwise, searches the metadata for the enum itself

InValue

Value of the metadata for the key

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss