UStruct::HasMetaDataHierarchical

Determines if the struct or any of its super structs has any metadata associated with the provided 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/Class.cpp

Syntax

const UStruct * HasMetaDataHierarchical
(
    const FName & Key
) const

Remarks

Determines if the struct or any of its super structs has any metadata associated with the provided key

Returns

pointer to the UStruct that has associated metadata, nullptr if Key is not associated with any UStruct in the hierarchy

Parameters

Parameter

Description

Key

The key to lookup in the metadata

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