Hello? I have a question while writing a script to create a PCG Graph with Python.
I created a PCG Graph with the code below.
import unreal
asset_tools = unreal.AssetToolsHelpers.get_asset_tools()
asset_tools.create_asset('PCG_Test', "/Game/PCG_Graphs", unreal.PCGGraph, unreal.PCGGraphFactory())
I created a PCG Graph with the code below. However, I would like to know how to create and connect nodes such as Get Landscape Data, Surface Sampler, etc. within the PCG Graph using Python.
For materials, I can create the desired expression using unreal.MaterialEditingLibrary().create_material_expression.
Is there a function that performs a similar function within the PCG Graph?