Announcement

Collapse
No announcement yet.

Is it possible to use Python for editing material graphs?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Is it possible to use Python for editing material graphs?

    As stated in the title... I've been trying to figure out how to use Python to edit materials. So I'd like to be able to do operations like:
    • Check if a material base color has an incoming connection, and if so, what it is connected to.
    • Create nodes (constant, multiply, texture sample, etc)
    • Assign a texture to a texture sample node
    • Disconnect nodes from each other
    • Delete nodes
    • Edit node attribute values
    I have some Python experience, but I'm very new to Unreal. I've been searching for examples of Python code that can do any of those operations, but so far I haven't been able to find anything. Could anyone point me to any examples showing how to do any of the above?

    Thanks
Working...
X