set_pcg_node_properties
Merge selected properties into a PCG graph node's settings, clamp values, regenerate pins, and verify the saved asset.
Instructions
Authors a PCG node's settings object via reflection (partial merge + clamp). Only the keys present in properties are written; absent keys are untouched. After the merge, PostEditChange() invalidates the node's cached CRC and regenerates its pins. The graph is re-saved and the persisted settings are read back. Idempotent: re-applying the same values is a no-op.
Returns: { graph_name: string, asset_path: string, node_name: string, settings_class: string, applied_keys: [string], properties: object, saved: bool, save_error: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_name | Yes | The node_name from get_pcg_graph_info of the node to author (the tokens "Input"/"Output" address the implicit endpoints). | |
| properties | Yes | Object of UPCGSettings fields to merge (e.g. for a SurfaceSampler: bApplyDensityToPoints(bool), PointsPerSquaredMeter(float>=0), Looseness(float)); absent keys untouched. | |
| pcg_graph_path | Yes | Asset path of the PCG Graph (e.g. "/Game/PCG/PCG_Example" or fully-qualified "/Game/PCG/PCG_Example.PCG_Example"). |