Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/UPCGMetadata
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadata.h |
| Include | #include "Metadata/PCGMetadata.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Metadata/PCGMetadata.cpp |
bool CreateAttributeFromDataProperty
(
FName AttributeName,
const void * Data,
const FProperty * Property
)
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 |