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 CreateAttributeFromProperty
(
FName AttributeName,
const UObject * Object,
const FProperty * Property
)
Remarks
Creates an attribute given a property. true if the attribute creation succeeded
Parameters
| Name | Description |
|---|---|
| AttributeName | Target attribute to create |
| Object | Object to get the property value from |
| Property | The property to set from |