I’ve created a Class Blueprint with a static mesh and applied a material instance on it. My material has a texture parameter in its blueprint and I want to change the texture in my Actor’s implemention at runtime. I can retrieve the material programmatically and am able to get the texture parameter value (pointer to a UTexture). But how do I set a parameter value through code?
My goal is to be able to change the texture on a material programmatically. Perhaps I attacked the problem the wrong way.