Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/UPCGMetadata
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Metadata/PCGMetadata.h |
| Include | #include "Metadata/PCGMetadata.h" |
| Source | /Engine/Plugins/Experimental/PCG/Source/PCG/Private/Metadata/PCGMetadata.cpp |
bool CreateAttributeFromDataProperty
&40;
FName AttributeName,
const void &42; Data,
const FProperty &42; Property
&41;
Remarks
Creates an attribute given a property. true if the attribute creation succeeded
Parameters
| Name | Description |
|---|---|
| AttributeName | Target attribute to create |
| Data | Data pointer to get the property value from |
| Property | The property to set from |