I am creating a blueprint that relies heavily on altering values of an instanced materials in the construction script editor.
I am wondering following situation: (Instanced materials are created in blueprint, and doesn’t have a “content editor” counterpart)
- I create material instance “A” and apply it to the mesh.
- I find out i want to instance another material, so i create material instance “B” and apply this to the mesh.
Since instance “A”, is no longer in use, and is not being referenced anywhere, does it still reside within the system somehow, and thus consume any of the computers resources?
The purpose of the question being:
Can i go nuts in the construction editor, and create an instance everytime a change (move, scale, variable change…) occurs to the mesh.
Or should i make the script so that i keep the number of instances as small as possible?
Hope i make sense