Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/Metadata
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Metadata/PCGMetadataElementCommon.h |
| Include | #include "Elements/Metadata/PCGMetadataElementCommon.h" |
namespace PCGMetadataElementCommon
{
template<typename T>
FPCGMetadataAttribute < T > * PCGMetadataElementCommon::ClearOrCreateAttribute
(
UPCGMetadata * Metadata,
const FName & DestinationAttribute,
T DefaultValue
)
}
Remarks
Creates a new attribute, or clears the attribute if it already exists and is a 'T' type. If default value not provided, will take the zero value for that type.