How do I get Texture from material (Blueprints)
I have a bunch of simple materials with only one texture in them, and they are saved in an array in my blueprint. I need a way to get the texture/image from the material to show it in a widget.
I have tried connecting the material to MakeSlateBrush but it returns nothing.
asked May 06 '16 at 11:24 PM in Blueprint Scripting
In your Material, convert your Texture2D to Texture2D Parameter and give it a name. Then in your Widget Blueprint assign this Material to your Image widget. Finally inside your graph, drag the Image widget and using the below network you can change the texture as you like.
answered May 07 '16 at 05:21 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here