20tab/UnrealEnginePython

Detecting master material.

AgenteDog opened this issue · 2 comments

Hi, is there a way to detect the master material of an instance and get the name or location of it? And once you have done that, is there a way to change the master material of an instance?

It's a bit confusing, but "parent" is what you are looking for. If I remember correctly you can get the current master mtl and set it as well.

It seems like

material_instance.Parent

works. Thank you!