Possible to spawn an actor inside the canvas?
I have the UI setup consisting of different buttons. These are part of a panel and this panel also has slots. I want to display a 3D mesh inside this slot when a button is clicked. I'm not sure if its possible to do this. I first checked out SpawnActor but I guess this can be done only in world space. I wanted to know if its possible to spawn an actor inside the canvas.
asked Apr 10 '15 at 11:24 PM in C++ Programming
You can't spawn actors in anything other then world instace. Also canvas is only 2D it's not even 3D/GPU accelerated so you can't do anything other on it then drawing lines, shapes, text and rendering texture. UMG or Slate would maybe give more option, as i know it can't render mesh on 2D but i think closest thing that may help you is viewport widget:
Also in this kind of problems where you hit some visual inability in engine, think out of the box, it does not matter how thing is done and what you see in code and in editor, what matters is what player see, the final reasult, think of yourself as illusionist.
Follow this question
Once you sign in you will be able to subscribe for any updates here