Skip to content

An Unreal Engine 5 plugin to spawn external slate windows for editor and runtime use.

License

Notifications You must be signed in to change notification settings

MrDrElliot/Multi-Window-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unreal Engine 5 Multi-Window Plugin

The Unreal Engine 5 Multi-Window Plugin provides a convenient way to create and manage external Slate windows within your Unreal Engine projects. These windows can host custom user interfaces, enabling enhanced flexibility and interaction options.

Example of Multi Window 1 Example of Multi Window 2

Features

  • External Slate Windows: Create external windows with custom titles, sizes, and positions.
  • UMG Widget Support: Host UMG widgets inside external windows for enhanced user interactions.
  • Dependency Types: Tie windows to specific contexts such as the world or PIE (Play In Editor) sessions.
  • Sizing Rules: Specify sizing rules and support for window maximize and minimize actions.
  • Shutdown Functionality: Ability to shut down windows by title or object reference.

Installation

To install the Multi-Window Plugin in your Unreal Engine project, follow these steps:

  1. Download the plugin from the GitHub repository.
  2. Extract the plugin folder into the "Plugins" directory of your Unreal Engine project.
  3. Enable the plugin in your project settings or by adding it to your project's .uproject file.

Usage

Creating Multi Windows

Use the provided function CreateMultiWindow to create new Multi Windows with custom configurations. Here's an example of how to use the function:

UMW_Window* CreateMultiWindow(
    FName InTitle = "New Window",
    UUserWidget* Widget = nullptr,
    EMultiWidgetDependencyType DependencyType = EMultiWidgetDependencyType::World,
    FVector2D WindowPosition = FVector2D(0.0f, 0.0f),
    FVector2D WindowSize = FVector2D(800.0f, 600.0f),
    UObject* DependencyObject = nullptr,
    EBPSizingRule SizingRule = EBPSizingRule::UserSized,
    bool bSupportsMaximize = true,
    bool bSupportsMinimize = true
);

Initialization and Shutdown

Initialize a Multi Window object using the Init() function. This sets up the window with the specified parameters and adds it to the Slate application. Call Shutdown() to clean up and remove the window.

Shutting Down Windows

Users can shut down windows using the following functions:

  • ShutdownWindowByName: Tries to find an active window by its title and shuts it down.
  • ShutdownWindowByObjectReference: Directly shuts down a window by providing its object reference.

License

This plugin is provided under the MIT License. Feel free to use and modify it in your projects.

Support

If you encounter any issues or have suggestions for improvements, please submit an issue on GitHub.

About

An Unreal Engine 5 plugin to spawn external slate windows for editor and runtime use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published