Navigation
API > API/Plugins > API/Plugins/PCG
PCG Data meant only to be used internally. It contains a copy of UserParameters for a given graph instance, with overrides in it. The idea is to have a structure to hold our overrides, provided by the override pins on the Subgraph and use this as input to PCGUserParametersGetElement. By doing so, we are able to provide the right parameters to the getter node.
| Name | UPCGUserParametersData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGUserParametersData.h |
| Include Path | #include "Data/PCGUserParametersData.h" |
Syntax
UCLASS (BlueprintType, HideDropDown, ClassGroup=(Procedural))
class UPCGUserParametersData : public UPCGData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGUserParametersData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| UpstreamData | TSoftObjectPtr< UPCGUserParametersData > | Data/PCGUserParametersData.h | ||
| UserParameters | FInstancedStruct | Data/PCGUserParametersData.h |
Functions
Public
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGUserParametersData.h | |
virtual EPCGDataType GetDataType() |
@todo_pcg To be deprecated when we switch to the new type | Data/PCGUserParametersData.h |