Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/FPCGMetadataAttributeBase
- FPCGMetadataAttributeBase::SetDefaultValueToFirstEntry()
- FPCGMetadataAttribute::SetDefaultValueToFirstEntry()
- FPCGMetadataAttribute::SetDefaultValueToFirstEntry()
- FPCGMetadataAttribute::SetDefaultValueToFirstEntry()
- FPCGMetadataAttribute::SetDefaultValueToFirstEntry()
- FPCGMetadataAttribute::SetDefaultValueToFirstEntry()
- FPCGMetadataAttribute::SetDefaultValueToFirstEntry()
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataAttribute.h |
| Include | #include "Metadata/PCGMetadataAttribute.h" |
void SetDefaultValueToFirstEntry()
Remarks
In the case of multi entry attribute and after some operations, we might have a single entry attribute with a default value that is different than the first entry. Use this function to fix that. Only valid if there is one and only one value.