Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGGraphInterface |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGGraph.h |
| Include Path | #include "PCGGraph.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Abstract, ClassGroup=(Procedural))
class UPCGGraphInterface : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGGraphInterface
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExposeGenerationInAssetExplorer | bool | When enabled and standalone, it adds the action in the asset explorer to trigger a generation. | PCGGraph.h |
|
| bExposeToLibrary | bool | PCGGraph.h |
|
|
| bIsTemplate | bool | PCGGraph.h |
|
|
| bOverrideColor | bool | PCGGraph.h |
|
|
| bOverrideTitle | bool | PCGGraph.h |
|
|
| Color | FLinearColor | Override of the color for the subgraph node for this graph. | PCGGraph.h |
|
| OnGraphChangedDelegate | FOnPCGGraphChanged | PCGGraph.h | ||
| OnGraphParametersChangedDelegate | FOnPCGGraphParametersChanged | PCGGraph.h | ||
| OnNodeSourceCompiledDelegate | FOnPCGNodeSourceCompiled | PCGGraph.h | ||
| Title | FText | Override of the title for the subgraph node for this graph. | PCGGraph.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TOptional< FLinearColor > GetColorOverride() |
PCGGraph.h | ||
const UPCGGraph * GetConstPCGGraph() |
Return the underlying PCG Graph for this interface. | PCGGraph.h |
|
| PCGGraph.h | |||
| PCGGraph.h | |||
TValueOrError< T, EPropertyBagResult > GetGraphParameter
(
const FName PropertyName |
PCGGraph.h | ||
virtual TOptional< FPCGGraphToolData > GetGraphToolData() |
PCGGraph.h | ||
UPCGGraph * GetMutablePCGGraph() |
Return the underlying PCG Graph for this interface. | PCGGraph.h |
|
| Mutable version - should not be used outside of testing. | PCGGraph.h | ||
| PCGGraph.h | |||
virtual const FInstancedPropertyBag * GetUserParametersStruct() |
PCGGraph.h | ||
virtual 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. | PCGGraph.h | |
virtual bool IsGraphParameterOverridden
(
const FName PropertyName |
PCGGraph.h | ||
bool IsInstance() |
PCGGraph.h | ||
bool IsStandaloneGraph() |
PCGGraph.h | ||
virtual void OnGraphParametersChanged
(
EPCGGraphParameterEvent InChangeType, |
PCGGraph.h | ||
EPropertyBagAlterationResult RenameUserParameter
(
FName CurrentName, |
Attempts a rename of a user parameter. | PCGGraph.h | |
EPropertyBagResult SetGraphParameter
(
const FName PropertyName, |
PCGGraph.h | ||
EPropertyBagResult SetGraphParameter
(
const FName PropertyName, |
PCGGraph.h | ||
bool UpdateArrayGraphParameter
(
const FName PropertyName, |
Allows to manipulate directly FPropertyBagArrayRef, while propagating changes to child instances. | PCGGraph.h | |
bool UpdateSetGraphParameter
(
const FName PropertyName, |
Allows to manipulate directly FPropertyBagSetRef, while propagating changes to child instances. | PCGGraph.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AreOverridesEnabled() |
PCGGraph.h | ||
EPCGChangeType GetChangeTypeForGraphParameterChange
(
EPCGGraphParameterEvent InChangeType, |
Detecting if we need to refresh the graph depending on the type of change in the Graph Parameter. | PCGGraph.h | |
virtual FInstancedPropertyBag * GetMutableUserParametersStruct() |
PCGGraph.h | ||
virtual bool IsExportToLibraryEnabled() |
By default export to library is visible only for graph that are assets, but can be enabled/disabled if needed. | PCGGraph.h | |
virtual bool IsTemplatePropertyEnabled() |
PCGGraph.h | ||
bool VerifyAndUpdateIfGraphParameterValueChanged
(
const FPropertyChangedChainEvent& PropertyChangedEvent |
PCGGraph.h | ||
bool VerifyIfGraphCustomizationChanged
(
const FPropertyChangedChainEvent& PropertyChangedEvent |
PCGGraph.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsStandaloneGraphAsset
(
const FAssetData& InAssetData |
PCGGraph.h |