add_pcg_graph_parameter
Expose a tunable parameter on a PCG graph to drive density, radius, or a toggle from outside instead of hardcoding it into a node.
Instructions
Expose a tunable on a PCG graph (bool / int / float / double / string) so density, radius or a toggle can be driven from outside instead of being welded into a node. Idempotent (already_existed when the name is taken). Only worth doing on graphs you own -- adding one to a library graph means editing that asset. Set a value with set_pcg_graph_parameter and list them with get_pcg_graph_parameters.
Returns: { pcg_graph_path, name, type, added, already_existed, parameter_count }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Parameter name (required) | |
| type | Yes | "bool" | "int" | "float" | "double" | "string" (required) | |
| pcg_graph_path | Yes | /Game/... path to the UPCGGraph (required) |