I need to make a program with two windows: the first window (main) where the player could walk around the level and the second window, where I could change the position of the actors in runtime (some kind of room planning app)
It is possible as editor does that, it seems it quite easy to be done with Slate, you create window first which you need to do with this function:
You can get rederer via this:
Window is also widget SWindow:
Inside windows you place SViewport:
If you have 0 idea about Slate, it is engine UI system initially made for editor, but it also can power gameplay UI (for example UMG is blueprint front end of Slate), here link for good starting resource:
This can be helpful to as it shows some slate stuff:
In the first function i give you as SWindow aregument you use SNew(SWindow) or better SAssignNew(MyWindowVarable,SWindow), as for argument functions you look up FArgument sub class in API refrence usally in bottom, but i give oyu links for SViewport and SWindow
Slate is weakly documented so ultimate example resource for is engine source code it self aspecially editor code, but no worries Slate works outside editor (it needs to power UMG anyway) so as long as you dont call any editor code you are ok.
i am extremely interested in this too. Could you give me some short example code which extends the unreal engine and just adds a new window without any content but which is shown? That would be really nice of you.
I need to create, fundamentally, a separate window in which there will be a widget with buttons (something like a control panel). I create the second separate window SWindow in which I place the widget. When you press a button on the widget, the game stops, when button it is released - game continues. If this widget is placed in the main window, this does not happen. Is it possible to overcome it? And what can it be connected with?
Hello, I’m working on a new solution for it for one of our customers, I’ll share some code later on. about 1 month. Contact me by dennis at geodesic.games or follow our website if I won’t put an update here in one month http://www.geodesic.games/
Hi all, I’m looking this second window result with a workflow in blueprints. That second window needs to automatically populate the second screen with a minimap that I have created.
Hope someone can help,