Change image in UMG animation in blueprints
I can't for the life of me find a solution for this. I want to change the image in a brush in a UMG menu in real time, at certain random intervals. But, I can't find out how to even access the 'Image' property of a brush in blueprints, only the brush itself. Is there any way to access this? Also, is there any way to get a reference to a texture used as the image as well? I want to use it for checking, since I want to toggle between 2 images.
Bonus Question: Why isn't there a way to add a key to the animation timeline for images in a brush as well?
asked Sep 24 '15 at 10:28 PM in Blueprint Scripting
Once you have the Image, drag off "Get Brush."
After that, you can access the existing Brush/Image through "Get Brush Resource," "Get Brush Resource as Material" or "Get Brush Resource as Texture2D."
And similarly, you can set it using "Set Brush Resource to Texture" or "Set Brush Resource to Material."
Hope that helps!
answered Jan 22 '19 at 11:59 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here