Navigation
API > API/Plugins > API/Plugins/PCGToolset
Toolset for building and modifying PCG graphs
| Name | UPCGToolset |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Toolsets/PCGToolset/Source/PCGToolset/Public/PCGToolset.h |
| Include Path | #include "PCGToolset.h" |
Syntax
UCLASS (BlueprintType)
class UPCGToolset : public UToolsetDefinition
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UToolsetDefinition → UPCGToolset
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString AddCommentBox
(
UPCGGraph* Graph, |
Adds a comment box around the given nodes. | PCGToolset.h |
|
| Adds a native node to the graph. | PCGToolset.h |
|
|
| Adds a subgraph node to the graph. | PCGToolset.h |
|
|
| Add an edge between two nodes connected to the specified pins. | PCGToolset.h |
|
|
| Graph --------------------------------------------------------------------------------------------------------. | PCGToolset.h |
|
|
| Removes the edge between two nodes connected to the specified pins. | PCGToolset.h |
|
|
static UToolCallAsyncResultVoid * DrawSpline
(
const FString& ActorLabel, |
Triggers the user to draw a spline in the viewport to be used later in the world building. | PCGToolset.h |
|
static UPCGExecuteGraphInstanceAsyncResult * ExecuteGraphInstance
(
const APCGVolume* PCGVolume |
Graph Instance Params -----------------------------------------------------------------------------------------. | PCGToolset.h |
|
| Returns the description of a PCG graph. | PCGToolset.h |
|
|
static FInstancedPropertyBag GetGraphInstanceParams
(
const APCGVolume* PCGVolume |
Gets the graph instance params of a specific actor, actor MUST have a graph instance | PCGToolset.h |
|
static FPCGGraphSchema GetGraphSchema
(
const UPCGGraph* Graph |
Returns the schema for a PCG Graph's graph parameters | PCGToolset.h |
|
static FPCGGraphStructure GetGraphStructure
(
const UPCGGraph* Graph |
Graph Params --------------------------------------------------------------------------------------------------. | PCGToolset.h |
|
static FPCGNativeNodeSchema GetNativeNodeSchema
(
const FString& NodeName |
Returns the schema for a PCG node type including input/output pins, parameters, and their types. | PCGToolset.h |
|
static FString GetNodeDataView
(
const APCGVolume* PCGVolume, |
Returns a JSON Data View of a specific node's output data from the last graph execution. | PCGToolset.h |
|
static FPCGNodeInfo GetNodeInfo
(
const UPCGNode* Node |
Returns node details including name, position, and all parameter values. | PCGToolset.h |
|
static TArray< FString > ListAvailableSubgraphs () |
Lists the PCG graphs that can be used with the Subgraph native node. | PCGToolset.h |
|
static TArray< FPCGGraphInstanceInfo > ListGraphInstances() |
Graph Instance -----------------------------------------------------------------------------------------------. | PCGToolset.h |
|
| Nodes -------------------------------------------------------------------------------------------------------. | PCGToolset.h |
|
|
| Removes a comment box from the graph. Does not affect the nodes it contains. | PCGToolset.h |
|
|
| Removes graph parameters to a specific PCG graph, such that they are not overridable anymore. | PCGToolset.h |
|
|
| Removes the node from the graph, will also remove edges connected to the node. | PCGToolset.h |
|
|
static bool RepositionNode
(
UPCGNode* Node, |
Change the position of node. | PCGToolset.h |
|
static bool ResetGraphInstanceParams
(
const APCGVolume* PCGVolume, |
Resets the given graph instance params back to the graph's default values. | PCGToolset.h |
|
| Set the description of a PCGGraph | PCGToolset.h |
|
|
static bool SetGraphInstanceParams
(
const APCGVolume* PCGVolume, |
Sets the graph instance params of a specific actor, actor MUST have a graph instance | PCGToolset.h |
|
static bool SetGraphParams
(
UPCGGraph* Graph, |
Adds one or more graph user parameters to a specific PCG graph, such that they will be overridable in per graph instance. | PCGToolset.h |
|
| Change the comment on the specified node. | PCGToolset.h |
|
|
static FPCGGraphInstanceInfo SpawnGraphInstance
(
UPCGGraph* Graph, |
Spawns a PCG Volume with associated Graph Instance into the scene, optionally with Graph Param overrides. | PCGToolset.h |
|
static bool UpdateCommentBox
(
UPCGGraph* Graph, |
Updates an existing comment box with new nodes and value. | PCGToolset.h |
|
| Updates a node by changing its params and/or title. | PCGToolset.h |
|