Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/Metadata
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/Metadata/PCGMetadataElementCommon.h |
| Include | #include "Elements/Metadata/PCGMetadataElementCommon.h" |
namespace PCGMetadataElementCommon
{
template<typename T>
FPCGMetadataAttribute< T > &42; PCGMetadataElementCommon&58;&58;ClearOrCreateAttribute
&40;
UPCGMetadata &42; Metadata,
const FName & DestinationAttribute,
T DefaultValue
&41;
}
Remarks
Creates a new attribute, or clears the attribute if it already exists and is a 'T' type