




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模板,将自定义TitleBar改为WindowTitleBarArea控件,这样拖动窗口时会更加流畅。
变更日志: (2024/03)
支持5.1-5.3版本
修复手动调用SetWindowClose函数时未触发OnWindowClose回调事件的bug。
更新日志:(2024/01)
支持5.2-5.3版本
添加新增“CreateRelativeMultiWindow”函数,根据“MonitorIndex”参数计算“WindowPositon”相对于显示器的坐标位置。
新增“CreateMultiWindowByMonitor”函数,根据“MonitorIndex”直接将窗口设置为对应的显示器并全屏。
新增“GetMonitorCount”函数获取当前显示器数量。
添加“GetPrimaryMonitorIndex”函数,获取当前主显示器下标。
添加“PrintToLog”函数,打印显示信息。
变更日志:(2023/06)
支持 5.2版本
5.2:
创建窗口时增加IsTopmostWindow参数。
插件内容中,增加了模板,自定义了标题栏(这样可以自定义Icon)。并在窗口中显示按钮名称。
变更日志:(2022/11)
支持5.1版本
变更日志:(2022/04)
支持5.0版本
5.0:
新增set\get窗口位置
现在在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)