Skip to content

PCGToolset.PCGSpatialToolset

PCGSpatial Toolset

1 tool(s).

PCGToolset.PCGSpatialToolset.RunPCGInstantGraph

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)

Input schema

{
  "properties": {
    "graph": {
      "description": "The PCG graph to execute",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/PCG.PCGGraph",
      "type": "object"
    },
    "params": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Key-value parameters to pass to the graph",
      "type": "object"
    }
  },
  "required": [
    "graph",
    "params"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "description": "Array of per-node execution messages emitted while running the graph (empty on success with no issues).",
      "items": {
        "properties": {
          "message": {
            "type": "string"
          },
          "reporterNode": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          }
        },
        "required": [
          "message",
          "severity",
          "reporterNode"
        ],
        "title": "PCGNodeExecutionMessage",
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}