unreal python get material graph node details option get property

hello!
I want to get the information value of the parameters in the detail section of the material graph node through Python script.
What should I do?

1
2
3
4
5
6
7
8
9
10
11
material = util.load_asset('/Game/0_Root/Material/M_standard_shd_test.M_standard_shd_test')
print(material) # Material
 
node_set = unreal.MaterialEditingLibrary.get_material_selected_nodes(material)
 
for node in node_set:
    print(node) # MaterialGraphNode
    print(dir(node))
    print('--')
    print(node.get_editor_property('??????'))
 
cs
1 Like

Currently this doesn’t seem possible in python. You can either find the relevant properties in the documentation or use help(unreal.MaterialExpressionTextureSampleParameter2D)

A c++ implementation for listing of properties can be found here:

or here: