pcg_create_graph_asset
Create or reuse a Procedural Content Generation (PCG) graph asset in Unreal Engine. Optionally overwrite an existing graph and save the package.
Instructions
Create or reuse a PCG graph asset through Unreal Python when available.
Args: graph_path: Content Browser path such as /Game/PCG/PCG_CityDistrict. overwrite: Delete an existing graph before creation. save: Save the graph package after creation.
KB: see knowledge_base/10_WORLD_BUILDING.md#4-procedural-content-generation-pcg Example: pcg_create_graph_asset(graph_path="/Game/PCG/PCG_CityDistrict")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| overwrite | No | ||
| graph_path | No | /Game/PCG/PCG_CityDistrict |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |