Navigation
API > API/Plugins > API/Plugins/PCG
Inheritance Hierarchy
- UObject
- UPCGGraphInterface
- UPCGGraph
- UPCGGraphInstance
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/PCGGraph.h |
| Include | #include "PCGGraph.h" |
Syntax
UCLASS (BlueprintType, Abstract, ClassGroup=(Procedural))
class UPCGGraphInterface : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bExposeToLibrary | ||
| bool | bOverrideColor | ||
| bool | bOverrideTitle | ||
| FLinearColor | Color | Override of the color for the subgraph node for this graph. | |
| FOnPCGGraphChanged | OnGraphChangedDelegate | ||
| FOnPCGGraphParametersChanged | OnGraphParametersChangedDelegate | ||
| FOnPCGNodeSourceCompiled | OnNodeSourceCompiledDelegate | ||
| FText | Title | Override of the title for the subgraph node for this graph. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| EPCGChangeType | GetChangeTypeForGraphParameterChange
(
EPCGGraphParameterEvent InChangeType, |
Detecting if we need to refresh the graph depending on the type of change in the Graph Parameter. | |
| TOptional< FLinearColor > | |||
| const UPCGGraph * | Return the underlying PCG Graph for this interface. | ||
| const UPCGGraph * | GetGraph () |
||
| UPCGGraph * | GetGraph () |
||
| TValueOrError< T, EPropertyBagResult > | GetGraphParameter
(
const FName PropertyName |
||
| UPCGGraph * | Return the underlying PCG Graph for this interface. | ||
| FInstancedPropertyBag * | |||
| FInstancedPropertyBag * | Mutable version - should not be used outside of testing. | ||
| TOptional< FText > | |||
| const FInstancedPropertyBag * | |||
| bool | IsEquivalent
(
const UPCGGraphInterface* Other |
A graph interface is equivalent to another graph interface if they are the same (same ptr), or if they have the same graph. | |
| bool | By default export to library is visible only for graph that are assets, but can be enabled/disabled if needed. | ||
| bool | IsGraphParameterOverridden
(
const FName PropertyName |
||
| bool | IsInstance () |
||
| void | OnGraphParametersChanged
(
EPCGGraphParameterEvent InChangeType, |
||
| EPropertyBagResult | SetGraphParameter
(
const FName PropertyName, |
||
| EPropertyBagResult | SetGraphParameter
(
const FName PropertyName, |
||
| bool | UpdateArrayGraphParameter
(
const FName PropertyName, |
Allows to manipulate directly FPropertyBagArrayRef, while propagating changes to child instances. | |
| bool | UpdateSetGraphParameter
(
const FName PropertyName, |
Allows to manipulate directly FPropertyBagSetRef, while propagating changes to child instances. |