Detecting master material.
AgenteDog opened this issue · 2 comments
AgenteDog commented
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?
hoATwhiskytree commented
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.
AgenteDog commented
It seems like
material_instance.Parent
works. Thank you!