Trying to import a PNG file from a local folder during runtime to display on a widget
So far I have a way for the user to select the file, and I take that file directory and name and I append a “File://” to the front of it… then it goes to a [Import File as Texture 2D]… then the return value I plug into a [Make Slate Brush] and I add some “Image Size” numbers… then the Slate Brush output goes to a [Set Brush] pointing to the target being my variable widget. But nothing. What am I missing?
I keep reading maybe I have to assign it to a plane and maybe make an instanced material? I dont know how to tell unreal engine to “Make a new Texture” just like when you drag in a texture into the editor’s content browser.
Ideally I would do that, “Make a new Texture” and then be able to save it so its there next time for the user.
yes i didnt need the “File://” I can now have it display on the widget. Now I need to figure out how to save it so its stored into an actors variable as an image texture.