Navigation
API > API/Plugins > API/Plugins/PCGToolset > API/Plugins/PCGToolset/UPCGSpatialToolset
Description
Runs an instant PCG graph with the specified parameters in fire-and-forget mode (Should be called directly: Not callable in a python context execution context)
| Name | RunPCGInstantGraph |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Toolsets/PCGToolset/Source/PCGToolset/Public/PCGSpatialToolset.h |
| Include Path | #include "PCGSpatialToolset.h" |
| Source | /Engine/Plugins/Experimental/Toolsets/PCGToolset/Source/PCGToolset/Private/PCGSpatialToolset.cpp |
UFUNCTION (Meta=(AICallable), Category="PCG|Graph")
static UPCGExecuteGraphInstanceAsyncResult * RunPCGInstantGraph
(
UPCGGraph * Graph,
const TMap < FString , FString > & Params
)
Array of per-node execution messages emitted while running the graph (empty on success with no issues).
Parameters
| Name | Remarks |
|---|---|
| Graph | The PCG graph to execute |
| Params | Key-value parameters to pass to the graph |