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.
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.