Navigation
API > API/Plugins > API/Plugins/PCG
Container struct for editor customization of a specific graph. This will grow/evolve as we expose more options to adapt the PCG editor to specific use cases. This can be used to restrict choices and to make the usage more streamlined when it calls for it. It will be extended to support hierarchy of customization (for things that make sense).
| Name | FPCGGraphEditorCustomization |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Editor/PCGGraphCustomization.h |
| Include Path | #include "Editor/PCGGraphCustomization.h" |
Syntax
USTRUCT ()
struct FPCGGraphEditorCustomization
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFilterNodesByCategory | bool | Editor/PCGGraphCustomization.h |
|
|
| bFilterSettings | bool | Editor/PCGGraphCustomization.h |
|
|
| bFilterSubgraphs | bool | Editor/PCGGraphCustomization.h |
|
|
| FilteredCategories | TSet< FString > | Editor/PCGGraphCustomization.h |
|
|
| FilteredSettingsTypes | TArray< TSubclassOf< UPCGSettings > > | Editor/PCGGraphCustomization.h |
|
|
| FilteredSubgraphTypes | TSet< TSoftObjectPtr< UPCGGraph > > | Editor/PCGGraphCustomization.h |
|
|
| Graph | TObjectPtr< const UPCGGraph > | Pointer to graph so we can have hierarchical behavior. | Editor/PCGGraphCustomization.h |
|
| NodeFilterType | EPCGGraphEditorFiltering | Editor/PCGGraphCustomization.h |
|
|
| SettingsFilterType | EPCGGraphEditorFiltering | Editor/PCGGraphCustomization.h |
|
|
| SubgraphFilterType | EPCGGraphEditorFiltering | Editor/PCGGraphCustomization.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Accepts
(
const FText& InCategory |
Editor/PCGGraphCustomization.h | ||
bool FilterSettings
(
const TSubclassOf< UPCGSettings >& InSettingsClass |
Returns false if settings is accepted by the customization. | Editor/PCGGraphCustomization.h | |
bool FiltersSettings() |
Editor/PCGGraphCustomization.h | ||
bool FiltersSubgraphs() |
Editor/PCGGraphCustomization.h | ||
bool FilterSubgraph
(
const FSoftObjectPath& InSubgraphPath |
Returns false if path is accepted by the customization. | Editor/PCGGraphCustomization.h |