Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGGraph
Description
Add new user parameters using an array of descriptors. Can also provide an original graph to copy the values. Original Graph needs to have the properties. Be careful if there is any overlap between existing parameters, that also exists in the original graph, they will be overridden by the original. Best used on a brand new PCG Graph.
| Name | AddUserParameters |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGGraph.h |
| Include Path | #include "PCGGraph.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGGraph.cpp |
EPropertyBagAlterationResult AddUserParameters
(
const TArray < FPropertyBagPropertyDesc > & InDescs,
const UPCGGraph * InOptionalOriginalGraph
)