How to change material parameters on widget component
I'm trying to change material parameters on a UI material that is assigned to an image inside a widget (this I managed to make it work). What's not working is the ability to change the parameters of that material on a widget component inside the player character blueprint. This widget component is referencing the class of the widget that has the material on the image but no changes are visible when I change the parameters of the widget material.
To summarize, I have:
Material with scalar parameters I want to change dynamicly
Widget A with the material assigned to an image
Widget Component B inside player blueprint referencing Widget A
I figured it out. Instead of making the logic on the player character, I made it on the widget itself and it reflects on the widget component inside the player BP. Although it'd be better to control the material on the player BP, or on other actors with a widget component.
answered Nov 20 '18 at 10:36 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here