Navigation
API > API/Runtime > API/Runtime/CoreUObject
| Name | FMetaData |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/MetaData.h |
| Include Path | #include "UObject/MetaData.h" |
Syntax
class FMetaData
Inheritance Hierarchy
- FMetaData
- FMetaDataBase → FMetaData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMetaData () |
UObject/MetaData.h | ||
consteval FMetaData
(
EConstEval |
UObject/MetaData.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| KeyRedirectMap | TMap< FName, FName > | Redirect map from deprecated keys to current key names. | UObject/MetaData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ObjectMetaDataMap | TMap< FSoftObjectPath, TMap< FName, FString > > | Mapping between an object, and its key->value meta-data pairs. | UObject/MetaData.h | |
| RootMetaDataMap | TMap< FName, FString > | Root-level (not associated with a particular object) key->value meta-data pairs. | UObject/MetaData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Returns the value for a the given key if it exists, null otherwise | UObject/MetaData.h | ||
| Returns the value for a the given key if it exists, null otherwise | UObject/MetaData.h | ||
| Return the value for the given key in the given property | UObject/MetaData.h | ||
| Return the value for the given key in the given property | UObject/MetaData.h | ||
bool HasObjectValues
(
const UObject* Object |
Is there any metadata for this property? Is there any metadata for this property? | UObject/MetaData.h | |
| Return whether or not the Key is in the meta data | UObject/MetaData.h | ||
| Return whether or not the Key is in the meta data | UObject/MetaData.h | ||
| Remap all object keys when renaming the owner package. | UObject/MetaData.h | ||
void RemoveMetaDataOutsidePackage
(
UPackage* MetaDataPackage |
Removes any metadata entries that are to objects not inside the same package as this UMetaData object. | UObject/MetaData.h | |
void RemoveValue
(
const UObject* Object, |
Remove any entry with the supplied Key form the Property's metadata | UObject/MetaData.h | |
void RemoveValue
(
const UObject* Object, |
Remove any entry with the supplied Key form the Property's metadata | UObject/MetaData.h | |
void SetObjectValues
(
const UObject* Object, |
Set the key/value pair in the Property's metadata | UObject/MetaData.h | |
void SetObjectValues
(
const UObject* Object, |
Set the key/value pair in the Property's metadata | UObject/MetaData.h | |
| Set the key/value pair in the Object's metadata | UObject/MetaData.h | ||
| Set the key/value pair in the Property's metadata | UObject/MetaData.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void CopyMetadata
(
UObject* SourceObject, |
Copy all metadata from the source object to the destination object. | UObject/MetaData.h | |
| Find the name/value map for metadata for a specific object | UObject/MetaData.h | ||
| Returns the remapped key name, or NAME_None was not remapped. | UObject/MetaData.h | ||
static void InitializeRedirectMap() |
UObject/MetaData.h |