How do I expose material instance properties throw a static mesh?
I have a material instance that I have applied to a static mesh. I want to expose material instance's properties throw the mesh to been able to change material color, etc.
How can I do that?
asked Oct 11 '15 at 06:31 PM in Everything Else
Hi man , in there i found just a readme . By the way here an example of how create some Actors, each one of them have his own dynamic instance of mymaterial, in the material i have used a PARAMETER VECTOR, not a Costant vector , and setted this Mycolor each time with a random color made up via floats.
answered Oct 18 '15 at 09:21 AM
There are Costant Material and Dynamic material , the dynamic can be edited in Runtime , you have to define them using parameters and not costant , here an example abd the docs where are all the information you need , https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/MaterialInstances/index.html
This blueprint , at the begin , create an istance of my material , access his variable , and change his color to green. and sure , he put on my cube.
answered Oct 16 '15 at 09:28 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here