Hi,
I have a Static Mesh which has about ~15 materials, and I’d like to automate a task of copying those materials, changing their base material asset, and setting one of their parameters.
I got this thing right here:
And it works well. It copies the source material instances on the static mesh asset into its folder.
What I would like to do next is to change base material of all these material instances to a different one.
There is only a GetBaseMaterial function:
But I have no clue how to set it.
Is it possible to set base materials on material instance assets using the Editor Utility Blueprint. If not, is it possible to maybe spawn new Material Instance assets, copy the data from existing material instances into them, and set the base material that way?
Thanks in advace