Features:
- Support for creating new windows.
- Support title modification, name, whether to display.
- Support window border settings, with title hiding, it is very easy to realize borderless windows.
- Support window close event.
Code Modules:
- MultiWindow [Runtime]
Check out ywt20's other products here : https://www.unrealengine.com/marketplace/en-US/profile/YWT20
Number of C++ Classes:2
Network Replicated: (No)
Supported Development Platforms: (“Windows”)
Supported Target Build Platforms:("Win64", "Win32")
Documentation: Link
Example Project:Link Show first-person footage in another window
Additional Notes:Try to avoid creating a new window when the window is closed. Because of this problem, I occasionally encounter a BUG when I close the program during testing.
特征:
- 支持创建新窗口。
- 支持标题修改,名称,是否显示。
- 支持窗口边框设置,带标题隐藏,非常容易实现无边框窗口。
- 支持窗口关闭事件。
代码模块:
- 多窗口[运行时]
在这里查看ywt20的其他产品 : https://www.unrealengine.com/marketplace/en-US/profile/YWT20
C++类数:2
网络复制:(否)
支持的开发平台:(”Windows”)
支持的目标构建平台:(”Win64″,”Win32″)
文件: 连结
示例项目:连结 在另一个窗口中显示第一人称镜头
其他注意事项:尽量避免在窗口关闭时创建新窗口。 由于这个问题,我在测试时关闭程序时偶尔会遇到一个BUG。





Demo:https://www.youtube.com/watch?v=GfrzXmJbFXE
Multi-window plug-in supports multiple windows with different views to be displayed simultaneously.
It supports blueprint nodes and is very easy to use.
Open the Content Browser window, in the upper right corner of the Content Browser, click the Settings button, This will open a menu where you can adjust various settings for the current instance of the Content Browser, Under the View category, check the Show Plugin Content option, Find the Multi window->Content->Multi window directory, There are sample levels and related assets inside.
Change log : (2024/09)
Support 5.2-5.4 version
Added SetWindowMode function (tested and found WindowedFullscreen to be more effective)
Change log : (2024/07)
Support 5.2-5.4 version
Increased support for Linux
Added OnWindowMoved callback event for window movement
Added the parameter ForceFocusToGameViewport to force the focus to the main viewport (After selecting this parameter, keyboard events will still work normally when other windows are selected.)
Change log : (2024/05)
Support 5.2-5.4 version
Rename PrintToLog to MW_PrintToLog.
Add GetWindowTitle function.
Added SetDPIScaleFactor function.
Add the GetDPIScaleFactor function and remove the GetWindowDPI function.
Modify the logic. After turning on the bIsAutoContentDPIScale switch, use the new SetDPIScaleFactor function after calculating the DPI.
Fixed an error message for sample levels when packaging.
Modify the WBP_MW_Template template and change the custom TitleBar to a WindowTitleBarArea control, so that it will be smoother when dragging the window.
Change log : (2024/03)
Support 5.1-5.3 version
Fixed the bug that the OnWindowClose callback event was not triggered when the SetWindowClose function was manually called.
Change log : (2024/01)
Support 5.2-5.3 version
Add the “CreateRelativeMultiWindow” function is added to calculate the “WindowPositon” coordinate position relative to the display based on the “MonitorIndex” parameter.
Add the “CreateMultiWindowByMonitor” function is added, and the window is directly set to the corresponding monitor and full screen according to the “MonitorIndex”.
Add the “GetMonitorCount” function to get the current number of monitors.
Add the “GetPrimaryMonitorIndex” function to get the subscript of the current main monitor.
Add the “PrintToLog” function to print the display information.
Change log : (2023/06)
Support 5.2 version
5.2:
Increase the IsTopmostWindow parameter when creating a window.
In the content of the plug-in, a template is added, and the title bar is customized (so that the Icon can be customized). And display the button name in the window when in the window.
Change log : (2022/11)
Support 5.1 version
Change log : (2022/04)
Support 5.0 version
5.0:
Added set\get window position function.
Now in ContentWidget you can respond to key events (OnKeyChar, OnPreviewKeyDown, OnKeyDown, OnKeyUp).
Change log : (2021/03)
4.26:Try to increase support for MacOS. If there is a problem with the test, please contact me in time.
Change log : (2021/01)
4.26:
Add “GetWindowSize” function — Get window size
Add “GetWindowDPI” function — Get window DPI
The CreateMultiWindow function adds the “bIsAutoContentDPIScale” parameter to automatically scale the content according to DPI. (The default is False)
Change log : (2020/12)
Support 4.26 version
示范:https://www.youtube.com/watch?v=GfrzXmJbFXE
多窗口插件支持多个不同视图的窗口同时显示。
它支持蓝图节点,非常易于使用。
打开内容浏览器窗口,在内容浏览器的右上角,单击设置按钮,这将打开一个菜单,您可以在其中调整内容浏览器当前实例的各种设置,在视图类别下,检查显示插件内容选项,找到多窗口->内容->多窗口目录,里面有示例级别和相关资产。
更改日志:(2024/09)
支持5.2-5.4版本
增加了SetWindowMode功能(测试发现WindowedFullscreen更有效)
更改日志:(2024/07)
支持5.2-5.4版本
增加对Linux的支持
为窗口移动添加OnWindowMoved回调事件
添加了参数ForceFocusToGameViewport强制将焦点移到主视口(选择此参数后,在选择其他窗口时,键盘事件仍然可以正常工作。)
更改日志:(2024/05)
支持5.2-5.4版本
将PrintToLog重命名为MW_PrintToLog。
添加GetWindowTitle函数。
新增SetDPIScaleFactor功能。
添加GetDPIScaleFactor函数并删除GetWindowDPI函数。
修改逻辑。 打开bIsAutoContentDPIScale开关后,在计算DPI后使用新的SetDPIScaleFactor函数。
修复了打包时样本级别的错误消息。
修改WBP_MW_Template模板,将自定义标题栏更改为WindowTitleBarArea控件,这样拖动窗口时会更加流畅。
更改日志:(2024/03)
支持5.1-5.3版本
修复了手动调用SetWindowClose函数时未触发OnWindowClose回调事件的bug。
更改日志:(2024/01)
支持5.2-5.3版本
添加”CreateRelativeMultiWindow 添加了”函数,用于根据”MonitorIndex”参数计算相对于显示器的”WindowPositon”坐标位置。
添加”CreateMultiWindowByMonitor的 增加了”功能,根据”MonitorIndex”直接将窗口设置为相应的监视器和全屏。
添加”N.帐户,帐户“功能来获取当前的显示器数量。
添加”[医][医][医][医]“函数获取当前主监视器的下标。
添加”[医]印刷版“功能来打印显示信息。
更改日志:(2023/06)
支持5.2版本
5.2:
在创建窗口时增加IsTopmostWindow参数。
在插件的内容中,添加了模板,并自定义了标题栏(以便自定义图标)。 并在窗口中时在窗口中显示按钮名称。
更改日志:(2022/11)
支持5.1版本
更改日志:(2022/04)
支持5.0版本
5.0:
新增set\获取窗口位置功能。
现在在ContentWidget中,您可以响应关键事件(OnKeyChar,OnPreviewKeyDown,OnKeyDown,OnKeyUp)。
更改日志:(2021/03)
4.26:尝试增加对MacOS的支持。 如果测试有问题,请及时与我联系。
更改日志:(2021/01)
4.26:
添加”GetWindowSize”功能—获取窗口大小
添加”GetWindowDPI”功能—获取窗口DPI
CreateMultiWindow函数添加了”bIsAutoContentDPIScale”参数,可根据DPI自动缩放内容。 (默认为False)
更改日志:(2020/12)
支持4.26版本

评论(0)