Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGGraphInstance |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGGraph.h |
| Include Path | #include "PCGGraph.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural), HideCategories=(Object))
class UPCGGraphInstance : public UPCGGraphInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGGraphInterface → UPCGGraphInstance
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOverrideCategory | bool | PCGGraph.h |
|
|
| bOverrideDescription | bool | PCGGraph.h |
|
|
| Category | FText | Can override the category of this instance. | PCGGraph.h |
|
| Description | FText | Can override the description of this instance. | PCGGraph.h |
|
| Graph | TObjectPtr< UPCGGraphInterface > | PCGGraph.h |
|
|
| ParametersOverrides | FPCGOverrideInstancedPropertyBag | PCGGraph.h |
|
|
| ToolDataOverrides | FPCGGraphInstanceToolDataOverrides | Override information for tool usage. | PCGGraph.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PreGraphCache | TWeakObjectPtr< UPCGGraphInterface > | Transient, to keep track of the previous graph when it changed. | PCGGraph.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanGraphInterfaceBeSet
(
const UPCGGraphInterface* GraphInterface |
When setting a graph instance as a base to another graph instance, we need to make sure we don't find this graph in the graph hierarchy. | PCGGraph.h | |
void CopyParameterOverrides
(
UPCGGraphInterface* InGraph |
PCGGraph.h | ||
FString ExportOverriddenPropertyIdsChangeForEditor
(
const FProperty* InProperty, |
For properties to be propagated correctly, changes need to happen with ImportText. | PCGGraph.h | |
FString GetDefaultPropertyValueForEditor
(
const FProperty* InProperty, |
Same thing for the default value reset, for properties to be propagated correctly, changes need to happen with ImportText. | PCGGraph.h | |
bool GraphAssetFilter
(
const FAssetData& AssetData |
Because subgraph nodes hold graph instances, delegation of the selection can't be done elsewhere, so this function gets called when the dialog is opened and will forward to the graph customization if filtering is applied. | PCGGraph.h | |
bool IsPropertyOverridden
(
const FProperty* InProperty |
PCGGraph.h | ||
bool IsPropertyOverriddenAndNotDefault
(
const FProperty* InProperty |
PCGGraph.h | ||
void ResetPropertyToDefault
(
const FProperty* InProperty |
PCGGraph.h | ||
void SetGraph
(
UPCGGraphInterface* InGraph |
PCGGraph.h | ||
void SetupCallbacks() |
PCGGraph.h | ||
bool ShowToolDataOverrides() |
PCGGraph.h | ||
void TeardownCallbacks() |
PCGGraph.h | ||
void UpdatePropertyOverride
(
const FProperty* InProperty, |
PCGGraph.h |
Overridden from UPCGGraphInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TOptional< FLinearColor > GetColorOverride() |
PCGGraph.h | ||
| PCGGraph.h | |||
| ~Begin UPCGGraphInterface interface | PCGGraph.h | ||
virtual TOptional< FPCGGraphToolData > GetGraphToolData() |
PCGGraph.h | ||
| PCGGraph.h | |||
virtual const FInstancedPropertyBag * GetUserParametersStruct() |
PCGGraph.h | ||
virtual bool IsGraphParameterOverridden
(
const FName PropertyName |
PCGGraph.h | ||
virtual void OnGraphParametersChanged
(
EPCGGraphParameterEvent InChangeType, |
PCGGraph.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
PCGGraph.h | ||
virtual bool CanEditChange
(
const FProperty* InProperty |
PCGGraph.h | ||
virtual bool IsEditorOnly() |
PCGGraph.h | ||
virtual void PostDuplicate
(
bool bDuplicateForPIE |
PCGGraph.h | ||
virtual void PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
PCGGraph.h | ||
virtual void PostEditImport() |
PCGGraph.h | ||
virtual void PostEditUndo() |
PCGGraph.h | ||
virtual void PostLoad() |
~End UPCGGraphInterface interface | PCGGraph.h | |
virtual void PreEditChange
(
FProperty* InProperty |
PCGGraph.h | ||
virtual void PreEditUndo() |
PCGGraph.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void NotifyGraphParametersChanged
(
EPCGGraphParameterEvent InChangeType, |
PCGGraph.h | ||
void OnGraphChanged
(
UPCGGraphInterface* InGraph, |
PCGGraph.h | ||
void OnGraphParametersChanged
(
UPCGGraphInterface* InGraph, |
PCGGraph.h | ||
void RefreshParameters
(
EPCGGraphParameterEvent InChangeType, |
PCGGraph.h |
Overridden from UPCGGraphInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInstancedPropertyBag * GetMutableUserParametersStruct() |
PCGGraph.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TObjectPtr< UPCGGraphInterface > CreateInstance
(
UObject* InOwner, |
PCGGraph.h |