Documentation Home
v1.22 v1.23
v1.22 v1.23

Desktop right menu

The desktop right menu can be extended with custom tabs. Each tab has an icon in the menu selector and displays a custom Blueprint widget in the right-side panel.

Use this extension point for persistent interfaces that need more space than the desktop navigation toolbar, such as settings, object properties, lists or extension management panels.

Creating the Tab Widget

  1. In your extension plugin, create a Widget Blueprint.

  2. Select SkrSdkDesktopRightPanelTabWidget as its parent class.

  3. Build the panel interface in the Designer.

  4. Implement its behavior in Blueprint.

  5. Use components from SkrDesignElements whenever possible to keep the interface consistent with the rest of SkyReal.

  6. Save the Widget Blueprint.

Design the widget for the available width of the right-side panel. Prefer vertical layouts and scroll boxes for content that may grow.

Registering the Tab

  1. In the extension's RegistrableAssets directory, create a Data Asset that inherits from SkrSdkDesktopRightPanelTabDescription.

  2. Configure the tab properties described below.

  3. Save the Data Asset.

Because the description is stored in RegistrableAssets, it is automatically registered when the extension is loaded. SkyReal then adds the tab to the desktop right menu and creates its panel widget when needed.

Tab Description Properties

  • Tab Name — Name displayed for the tab and used to identify it from Blueprint.

  • Tab Icon — Texture2D displayed in the tab selector.

  • Tab Panel Widget Class — Widget Blueprint displayed when the tab is selected. It must inherit from SkrSdkDesktopRightPanelTabWidget.

  • Display Priority — Controls the position of the tab in the selector.

  • Is Available in Skr2Go — Allows the tab to be available in the Skr2Go context.

  • Is Available in Collab — Allows the tab to be available in collaboration contexts.

Ordering: Tabs are sorted by ascending display priority. A lower Display Priority value appears before a higher value.

Enable the availability options only for contexts supported by the extension. The widget and all of its required assets must also be available in those contexts.

Reacting When the Panel Is Collapsed

Override On Tab Panel Collapse in the tab Widget Blueprint when it must react to the right menu being collapsed.

For example, use this event to:

  • Close local pop-ups or secondary panels.

  • Stop temporary previews or updates.

  • Reset UI state that should not remain active while the panel is hidden.

The event is optional. It is not required for a basic tab.

Opening the Right Menu from Blueprint

The SkyReal player controller provides Blueprint functions for controlling the right menu:

  • Open Right Menu — Opens the panel and selects a specific SkrSdkDesktopRightPanelTabDescription.

  • Open Right Menu From Tab Name — Opens the panel and selects a tab using its Tab Name.

  • Close Right Menu — Closes the right-side panel.

  • Is Right Menu Open — Returns whether the panel is currently open.

Use the description reference whenever possible. If you open a tab by name, make sure its Tab Name is unique among all loaded extensions.

Using Icons

Store the tab icon inside the extension or one of its declared extension dependencies.

Assigning the texture to Tab Icon provides the visual used by the right menu, but it does not add the texture to the SkyReal icon registry. If the icon must also be accessed through the icon library, register it explicitly in a SkrIconsLibrary Data Asset.

Common Issues

The tab does not appear

  • Check that the description Data Asset is inside RegistrableAssets.

  • Check that Tab Panel Widget Class references the correct Widget Blueprint.

  • Make sure the widget inherits from SkrSdkDesktopRightPanelTabWidget.

  • Check the Is Available in Skr2Go and Is Available in Collab settings for the current context.

  • Make sure the extension is present in SkrExtensions.json and is loaded successfully.

The tab appears in the wrong position

  • Check its Display Priority.

  • Remember that lower values appear first.

  • Compare the value with the priorities of the other loaded right-menu tabs.

The panel opens but contains no interface

  • Check that Tab Panel Widget Class is assigned in the description.

  • Compile and save the Widget Blueprint.

  • Check the Blueprint for errors during widget construction.

Opening the tab by name selects the wrong tab

  • Give each custom tab a unique Tab Name.

  • Prefer Open Right Menu with the description reference when several extensions could use similar names.

The icon is missing at runtime

  • Check that Tab Icon references a valid Texture2D.

  • Make sure the texture belongs to the extension or one of its declared extension dependencies.

  • References to Engine assets or Unreal plugin assets that are not packaged as SkyReal extensions are not guaranteed to be available at runtime.