UMG Button Dynamic Material Parameters
I'm having a hard time trying to change a Paramater Value for a dynamic material for a UMG button. Specifically, I have assigned a material to the Normal style of the button component. In my event graph, I try to access like this:
the "ButBuildThrasher" is the button reference. The problem occurs where I cast to Image which fails. I'm not sure how to hook up the get dynamic material from the slatebrush image output.
I have used this for reference: https://docs.unrealengine.com/latest/INT/Engine/UMG/UserGuide/Styling/index.html
Thanks for any help!
Ok, the way I did it for anyone else that has the problem. Create the dynamic material, apply it to the slatebrush, and store a reference to it. Then when you need to change it just use your reference to set the parameter.
answered Aug 16 '15 at 06:20 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here