NeoSettingsDocsNeo Async Loading Screen
ReferenceAPI reference

API reference

Every public class, struct, enum, delegate and function of the plugin, from the comments of its public headers (the same text as the tooltips in the editor). Blueprint nodes show their Blueprint name first; C++ names follow in code. Members marked C++ only have no Blueprint node. Your module reaches all of them with this line in its Build.cs (an editor module adds NeoSettingsEditor the same way):

On this page
  1. Headers
  2. NeoSettingsLibrary.h
  3. UNeoSettingsLibrary
  4. NeoSettingsPlayerSubsystem.h
  5. Delegates
  6. UNeoSettingsPlayerSubsystem
  7. NeoMenuSubsystem.h
  8. Delegates
  9. UNeoMenuSubsystem
  10. NeoDialogAsyncAction.h
  11. Delegates
  12. UNeoConfirmDialogAction
  13. UNeoChoiceDialogAction
  14. NeoScreenWidgets.h
  15. UNeoMenuScreenWidget
  16. UNeoDialogWidget
  17. UNeoToastWidget
  18. NeoScreenPresenter.h
  19. FNeoScreenRequest
  20. UNeoScreenPresenter
  21. UNeoScreenWidget
  22. NeoSettingWidgets.h
  23. Delegates
  24. UNeoSettingWidget
  25. UNeoToggleSettingWidget
  26. UNeoSliderSettingWidget
  27. UNeoChoiceSettingWidget
  28. UNeoActionSettingWidget
  29. UNeoKeyBindingWidget
  30. UNeoSectionHeaderWidget
  31. UNeoSettingsList
  32. UNeoInputPrompt
  33. UNeoRebindButton
  34. NeoSettingsPanel.h
  35. Delegates
  36. UNeoSettingsPanel
  37. UNeoSettingRow
  38. NeoSettingsProjectSettings.h
  39. ENeoFirstLaunchQuality
  40. FNeoSettingRule
  41. FNeoPresetLine
  42. UNeoSettingsProjectSettings
  43. NeoSettingsTypes.h
  44. Delegates
  45. ENeoSettingsStorage
  46. ENeoSettingsFovMode
  47. ENeoSettingsEditorApply
  48. ENeoSettingsValueType
  49. FNeoSettingsValue
  50. FNeoSettingsOpenOptions
  51. FNeoSettingsCapability
  52. FNeoSettingsImportResult
  53. ENeoSettingsCustomKind
  54. FNeoSettingsCustomOption
  55. FNeoSettingsCustomSetting
  56. FNeoSettingsAudioChannel
  57. ENeoGlyphFamily
  58. FNeoInputGlyph
  59. ENeoScreenProfile
  60. ENeoScreenProfileSource
  61. FNeoScreenInfo
  62. ENeoScreen
  63. ENeoScreenCloseReason
  64. ENeoScreenCorner
  65. ENeoMenuAction
  66. FNeoMenuItem
  67. FNeoMenuItemView
  68. ENeoSettingsLoadingPhase
  69. ENeoSettingKind
  70. ENeoSettingScope
  71. ENeoApplyMode
  72. FNeoSettingOption
  73. FNeoSettingInfo
  74. ENeoInputDevice
  75. FNeoBindingInfo
  76. FNeoSectionInfo
  77. FNeoPageInfo
  78. FNeoDisplayConfirmation
  79. FNeoSettingsText
  80. ENeoDialogButtonStyle
  81. FNeoDialogButton
  82. FNeoDialogSpec
  83. ENeoToastKind
  84. FNeoToast
  85. FNeoInputConflictGroup
  86. ENeoSharedSettingsAccess
  87. ENeoCornerShape
  88. ENeoSelectionLook
  89. ENeoMotionPace
  90. ENeoMenuPosition
  91. FNeoStyleEdits
  92. Log category
  93. NeoSettingsDriver.h
  94. FNeoSettingsDriverContext
  95. INeoSettingsDriver
  96. Functions
  97. NeoSettingsStorage.h
  98. UNeoSettingsStorage
  99. NeoSettingsSubsystem.h
  100. Delegates
  101. UNeoSettingsSubsystem
  102. NeoSettingsRecipe.h
  103. UNeoSettingsRecipe
  104. NeoSettingsPreview.h
  105. ENeoSettingsDiagnosticSeverity
  106. FNeoSettingsDiagnostic
  107. ENeoSettingsPreview
  108. FNeoSettingsPreviewInfo
  109. FNeoSettingsModelSetting
  110. FNeoSettingsModelPage
  111. FNeoSettingsModelSummary
  112. FNeoSettingsHiddenRow
  113. FNeoStyleDraft
  114. ENeoPreviewScreenAs
  115. FNeoSettingsCompileStats
  116. FNeoSettingsMenuItemInfo
  117. FNeoTechnologyInfo
  118. FNeoStyleColor
  119. FNeoStyleDescription
  120. FNeoFontFamily
  121. FNeoStyleRecipeRequest
  122. FNeoStyleRecipe
  123. Functions
  124. NeoSettingsEditorModule.h
  125. FNeoSettingsEditorModule
  126. NeoSettingsBridge.h
  127. UNeoSettingsBridge
C#
PrivateDependencyModuleNames.Add("NeoSettings");

Headers

NeoSettingsLibrary.h

Module NeoSettings.

UNeoSettingsLibrary

Class UNeoSettingsLibrary, based on UBlueprintFunctionLibrary; shown as Neo Settings Library.

Everything a game needs, from Blueprint or C++. Functions that concern one player take a hidden world context and an advanced Player pin: empty, they act for the player the calling object belongs to (a widget's owning player, a controller's, a pawn's, a HUD's), else for the first local player of the game (the only player of a game without split-screen).

Neo Settings

  • Open Settings Menu (Blueprint node)
    C++
    static bool OpenSettingsMenu(UObject* WorldContextObject, const FNeoSettingsOpenOptions& Options)
    Opens the settings menu over the game (from your main menu, your pause menu, anywhere), for the player of Options (empty: the player of the world context, else the first local player). Returns false when that player's settings menu is already open.
  • Close Settings Menu (Blueprint node)
    C++
    static void CloseSettingsMenu(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    Closes the player's settings menu (with its closing animation); nothing when it is not open.
  • Is Settings Menu Open (Blueprint pure node)
    C++
    static bool IsSettingsMenuOpen(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    True while the player's settings menu is open (false from the start of its closing animation: the game already has its input back).
  • Get Setting Value (Blueprint pure node)
    C++
    static FNeoSettingsValue GetSettingValue(const UObject* WorldContextObject, const FString& SettingId, APlayerController* Player = nullptr)
    The value of a setting for the player: its own value for a per-player setting (split-screen), else the shared one. Type None when the id is unknown.
  • Get Setting Bool (Blueprint pure node)
    C++
    static bool GetSettingBool(const UObject* WorldContextObject, const FString& SettingId, bool Fallback = false, APlayerController* Player = nullptr)
    A toggle's value; Fallback when the id is unknown.
  • Get Setting Float (Blueprint pure node)
    C++
    static float GetSettingFloat(const UObject* WorldContextObject, const FString& SettingId, float Fallback = 0.0f, APlayerController* Player = nullptr)
    A slider's value; Fallback when the id is unknown.
  • Get Setting Int (Blueprint pure node)
    C++
    static int32 GetSettingInt(const UObject* WorldContextObject, const FString& SettingId, int32 Fallback = 0, APlayerController* Player = nullptr)
    A slider's value rounded to the nearest integer; Fallback when the id is unknown.
  • Get Setting String (Blueprint pure node)
    C++
    static FString GetSettingString(const UObject* WorldContextObject, const FString& SettingId, const FString& Fallback = TEXT(""), APlayerController* Player = nullptr)
    The option id of a choice, or the text of a value; Fallback when the id is unknown.
  • Set Setting Value (Blueprint node)
    C++
    static bool SetSettingValue(const UObject* WorldContextObject, const FString& SettingId, const FNeoSettingsValue& Value, APlayerController* Player = nullptr)
    Changes a setting from the game's code: bounded, applied at once and saved. A display mode is kept without the keep-or-revert countdown and a setting applied with Apply does not wait for it; Set Setting Value As Player does both, as the settings menu does. Returns false if it is refused (unknown id, value out of the options, grayed, or a shared setting another player owns).
  • Set Setting Bool (Blueprint node)
    C++
    static bool SetSettingBool(const UObject* WorldContextObject, const FString& SettingId, bool Value, APlayerController* Player = nullptr)
    Sets a toggle (see Set Setting Value).
  • Set Setting Float (Blueprint node)
    C++
    static bool SetSettingFloat(const UObject* WorldContextObject, const FString& SettingId, float Value, APlayerController* Player = nullptr)
    Sets a slider, clamped to its range and step (see Set Setting Value).
  • Set Setting String (Blueprint node)
    C++
    static bool SetSettingString(const UObject* WorldContextObject, const FString& SettingId, const FString& Value, APlayerController* Player = nullptr)
    Sets a choice by option id (see Set Setting Value).
  • Set Setting Value As Player (Blueprint node)
    C++
    static bool SetSettingValueAsPlayer(const UObject* WorldContextObject, const FString& SettingId, const FNeoSettingsValue& Value, APlayerController* Player = nullptr)
    Changes a setting the way the settings menu does when the player picks a value, for your own settings screen. A display mode (Apply Mode Confirm) is on screen at once and taken back unless Keep Display Changes is called before the countdown ends (Get Display Confirmation); a setting applied with Apply (Apply Mode Pending) waits for Apply Pending Settings. Returns false if it is refused (see Set Setting Value).
  • Reset Setting (Blueprint node)
    C++
    static void ResetSetting(const UObject* WorldContextObject, const FString& SettingId, APlayerController* Player = nullptr)
    Puts a setting back to its default for the player.
  • Reset Page (Blueprint node)
    C++
    static void ResetPage(const UObject* WorldContextObject, const FString& PageId, APlayerController* Player = nullptr)
    Puts every setting of a page back to its default for the player, at once (ask the player first). On a page with key bindings, its bindings too while Manage Key Bindings is on.
  • Reset All Settings (Blueprint node)
    C++
    static void ResetAllSettings(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    Resets every setting and key binding of the player to its default (and the shared ones, when the player owns them: player 1). Key bindings are left as they are while Manage Key Bindings is off.
  • Apply Pending Settings (Blueprint node)
    C++
    static void ApplyPendingSettings(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    Applies the changes that wait for Apply (settings with apply mode Pending) for the player.
  • Save Settings Now (Blueprint node)
    C++
    static void SaveSettingsNow()
    Writes the settings now instead of after the usual short delay.
  • Run Quality Benchmark (Blueprint node)
    C++
    static bool RunQualityBenchmark()
    Runs the engine's hardware benchmark and makes the quality levels it picks the player's choice, as the Benchmark button of the Graphics page does. The game stalls for a moment while it runs: show your own wait first. Returns false when it cannot run (the editor without Editor Apply = Everything, a dedicated server).
  • Are Settings Loaded (Blueprint pure node)
    C++
    static bool AreSettingsLoaded()
    True once the saved settings are loaded and applied (the player subsystem's On Settings Loaded).
  • Get Capability (Blueprint pure node)
    C++
    static FNeoSettingsCapability GetCapability(const FString& Name)
    Whether an image technology or display feature is present and usable: "dlss", "fsr", "dlssg", "reflex", "hdr", "raytracing"...
  • Get All Setting Ids (Blueprint pure node)
    C++
    static TArray<FString> GetAllSettingIds()
    Ids of every setting of the model (visible or not).
  • Get Setting Label (Blueprint pure node)
    C++
    static FText GetSettingLabel(const FString& SettingId)
    Localized label of a setting.
  • Get Diagnostics (Blueprint pure node)
    C++
    static TArray<FString> GetDiagnostics()
    Recipe errors and warnings of this session, one per line ("file:line:col: ...").

Neo Settings › Backup

  • Export Settings To Json (Blueprint node)
    C++
    static FString ExportSettingsToJson()
    Every setting and key binding as JSON text ("neo-settings/1"), to keep in your own save or share.
  • Import Settings From Json (Blueprint node)
    C++
    static FNeoSettingsImportResult ImportSettingsFromJson(const FString& Json)
    Restores settings from JSON text made by Export Settings To Json (values are bounded, unknown ones ignored).
  • Export Settings To File (Blueprint node)
    C++
    static FString ExportSettingsToFile(const FString& FilePath)
    Writes the export to a file (desktop). Empty path: Saved/NeoSettings/Export.json. Returns the path.
  • Import Settings From File (Blueprint node)
    C++
    static FNeoSettingsImportResult ImportSettingsFromFile(const FString& FilePath)
    Restores settings from a file written by Export Settings To File. Empty path: Saved/NeoSettings/Export.json.

Other

  • Get Setting Id Options (reflected, no node)
    C++
    static TArray<FString> GetSettingIdOptions()
    The drop-down of the setting id pins and fields: every setting id of the recipes, sorted.
  • Get Menu Item Id Options (reflected, no node)
    C++
    static TArray<FString> GetMenuItemIdOptions()
    The drop-down of the Hidden Menu Items field: the ids of the shipped menu items.

Neo Settings › Screen

  • Get Screen Info (Blueprint pure node)
    C++
    static FNeoScreenInfo GetScreenInfo()
    How the settings menu is sized on this screen: the profile (monitor, handheld or TV) and why, the menu scale, the room it lays out in and the margins it keeps. Your own UI may follow it too (larger HUD text on a TV).

Neo Settings › Input Glyphs

  • Get Input Glyph (Blueprint pure node)
    C++
    static FNeoInputGlyph GetInputGlyph(const FKey& Key, ENeoGlyphFamily Family = ENeoGlyphFamily::Auto, float Size = 64.0f)
    How to draw a key, a mouse input or a controller button in your HUD, with the menu's visuals: a legend brush to tint (on a plate for controller buttons), or a text keycap. Auto: the player's controller layout for a controller button, the keyboard otherwise. Size: the brushes' size in Slate units. The brushes stay valid for the session.
  • Get Input Glyph For Action (Blueprint pure node)
    C++
    static FNeoInputGlyph GetInputGlyphForAction(const UObject* WorldContextObject, const UInputAction* Action, ENeoGlyphFamily Family = ENeoGlyphFamily::Auto, float Size = 64.0f, APlayerController* Player = nullptr)
    The glyph of the key the player has for an action (the bindings chosen in the menu, else the game's mapping contexts), on the device of Family (Auto: the device the player used last). Key is None when the action has no key there. The Input Prompt widget draws it and follows device changes and rebinds by itself.
  • Get Current Glyph Family (Blueprint pure node)
    C++
    static ENeoGlyphFamily GetCurrentGlyphFamily(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    The layout the player's prompts use now: Keyboard & Mouse, or the player's controller layout. The player subsystem's On Glyph Family Changed tells when it changes.

Neo Settings › Menus

  • Open Main Menu (Blueprint node)
    C++
    static bool OpenMainMenu(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    Opens the main menu for the player (Project Settings > Menus). Returns false when it cannot open now (no game viewport yet, the Neo Async Loading Screen, a dedicated server). Main menus are usually opened by the plugin itself when the game starts (Main Menu ticked).
  • Open Pause Menu (Blueprint node)
    C++
    static bool OpenPauseMenu(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    Opens the pause menu for the player, as the pause key does. Returns false when refused: a main menu, a dialog, The Neo Async Loading Screen or the fade to black of a level change is up, Set Pause Menu Allowed turned it off (cutscenes), or a dedicated server.
  • Close All Menus (Blueprint node)
    C++
    static void CloseAllMenus(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    Closes every plugin screen of the player (main menu, pause menu, settings, dialogs) and gives the game its input back.
  • Is Any Menu Open (Blueprint pure node)
    C++
    static bool IsAnyMenuOpen(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    True while any plugin screen of the player is open (main menu, pause menu, settings, dialog).
  • Return To Main Menu (Blueprint node)
    C++
    static void ReturnToMainMenu(const UObject* WorldContextObject, bool bConfirm = true)
    Leaves the game for the main menu: a networked game through the engine's Return To Main Menu (your session code runs), a standalone game by opening the main menu's map; with a fade to black, or behind the Neo Async Loading Screen when that plugin is enabled. bConfirm: ask the player first.
  • Quit Game With Confirmation (Blueprint node)
    C++
    static void QuitGameWithConfirmation(const UObject* WorldContextObject, bool bConfirm = true)
    Quits the game, after asking the player when bConfirm (focus on Cancel). Use the engine's Quit Game to quit without the plugin.
  • Set Pause Menu Allowed (Blueprint node)
    C++
    static void SetPauseMenuAllowed(const UObject* WorldContextObject, bool bAllowed, APlayerController* Player = nullptr)
    Allows or refuses the player's pause menu (refuse it during a cutscene, allow it again after).
  • Set Menu Fact (Blueprint node)
    C++
    static void SetMenuFact(const UObject* WorldContextObject, FName Name, bool bValue)
    Sets a fact the menu recipes read as game.<Name> in their conditions, e.g. can_continue shows the main menu's Continue item. Unset facts read false.

Neo Settings › Loading Screen

  • Show Loading Screen (Blueprint node)
    C++
    static void ShowLoadingScreen(const UObject* WorldContextObject, FText Reason)
    Shows the Neo Async Loading Screen over the whole window to cover your own wait (the Reason is logged, never shown). Hide it with Hide Loading Screen. Without that plugin: nothing (HSP308 in the log, once).
  • Hide Loading Screen (Blueprint node)
    C++
    static void HideLoadingScreen(const UObject* WorldContextObject)
    Hides the Neo Async Loading Screen shown by Show Loading Screen (a map load's loading screen hides by itself). Without that plugin: nothing (HSP308 in the log, once).
  • Add Loading Screen Hold (Blueprint node)
    C++
    static void AddLoadingScreenHold(UObject* Holder, const FString& Reason)
    Keeps the Neo Async Loading Screen up after a map load until Remove Loading Screen Hold is called with the same Holder (or that plugin's maximum time passes). Holder: usually Self. Without that plugin: nothing (HSP308 in the log, once).
  • Remove Loading Screen Hold (Blueprint node)
    C++
    static void RemoveLoadingScreenHold(UObject* Holder)
    Releases a hold added by Add Loading Screen Hold. Without Neo Async Loading Screen: nothing (HSP308 in the log, once).

Neo Settings › Model

  • Get Setting Info (Blueprint pure node)
    C++
    static FNeoSettingInfo GetSettingInfo(const UObject* WorldContextObject, const FString& SettingId, APlayerController* Player = nullptr)
    Everything needed to draw one setting for the player: label, description, kind, options or range, value and its text, state (visible, enabled and why not, pending, restart, changed), cost. Id empty when the id is unknown.
  • Get Page Ids (Blueprint pure node)
    C++
    static TArray<FString> GetPageIds(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    Ids of the settings pages the player sees, in menu order (split-screen: a page holding only settings player 1 owns is hidden from the other players unless Shared Settings For Other Players is Editable).
  • Get Page Info (Blueprint pure node)
    C++
    static FNeoPageInfo GetPageInfo(const UObject* WorldContextObject, const FString& PageId, APlayerController* Player = nullptr)
    A page with its visible sections and their settings, for the player; on a controls page (bBindings), the sections hold the actions the player can rebind instead. Id empty when the page is unknown or hidden.
  • Format Setting Value (Blueprint pure node)
    C++
    static FText FormatSettingValue(const FString& SettingId, const FNeoSettingsValue& Value)
    A value written as the menu writes it for this setting, in the current language ("85°", "1920 × 1080", "On").
  • Has Pending Settings (Blueprint pure node)
    C++
    static bool HasPendingSettings(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    True when changes of the player wait for Apply (or for the display confirmation).
  • Discard Pending Settings (Blueprint node)
    C++
    static void DiscardPendingSettings(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    Drops the player's changes that wait for Apply.
  • Get Display Confirmation (Blueprint pure node)
    C++
    static FNeoDisplayConfirmation GetDisplayConfirmation()
    The display change that waits to be kept, if any (Set Setting Value As Player): seconds left, and the settings it changed. The player subsystem's On Display Confirmation Changed tells when it starts and ends.
  • Keep Display Changes (Blueprint node)
    C++
    static void KeepDisplayChanges()
    Keeps the display change that waits: the mode on screen becomes the saved one. Nothing when none waits.
  • Revert Display Changes (Blueprint node)
    C++
    static void RevertDisplayChanges()
    Takes the display change that waits back now, as the end of its countdown would. Nothing when none waits.
  • Is Restart Required (Blueprint pure node)
    C++
    static bool IsRestartRequired()
    True when a setting changed since the game started needs a restart to take effect (Graphics API...).

Neo Settings › Localization

  • Get Settings Texts (Blueprint node)
    C++
    static TArray<FNeoSettingsText> GetSettingsTexts()
    Every text the settings show to players (the catalog, your recipes, the menus and their own words), with the namespace and key Unreal localizes it under. The plugin ships in English: your project's translation of the same namespace, key and English text shows in its language. Texts you typed in Project Settings are left out: they are already the project's own texts (the English made for a field left empty is listed, in NeoSettings.Project).
  • Export Settings Texts To Csv (Blueprint node)
    C++
    static int32 ExportSettingsTextsToCsv(const FString& FilePath, const FString& Namespace = TEXT("NeoSettings"))
    Writes the texts of one namespace (Get Settings Texts) as a String Table CSV file (Key, SourceString), sorted by key: import it into a String Table asset of that namespace, and your localization dashboard gathers and translates them like your own texts. Returns how many texts it wrote, -1 when the file could not be written.

Neo Settings › Theme

  • Get Theme Color (Blueprint pure node)
    C++
    static FLinearColor GetThemeColor(FName Token, const FString& Theme = TEXT(""))
    A color of a style's palette (accent, text, panel...), with Project Settings' palette overrides. Theme empty: the project's style. Unknown token: magenta, and a warning once.
  • Get Theme Font (Blueprint pure node)
    C++
    static FSlateFontInfo GetThemeFont(FName Role, float Size, const FString& Theme = TEXT(""))
    A font of a style by role (display, title, body, bold, mono) at Size Slate units, for text that matches the menu. Theme empty: the project's style.

Neo Settings › Dialogs

  • Show Toast (Blueprint node)
    C++
    static void ShowToast(const UObject* WorldContextObject, FText Message, ENeoToastKind Kind = ENeoToastKind::Info, float DurationSeconds = 0.0f, APlayerController* Player = nullptr)
    Shows a short message in a corner of the player's screen that never takes the focus. Duration 0: from the length of the text (3 to 10 seconds). Dialogs with buttons: Show Confirm Dialog, Show Choice Dialog.
  • Close Dialogs (Blueprint node)
    C++
    static void CloseDialogs(const UObject* WorldContextObject, APlayerController* Player = nullptr)
    Closes the player's open and queued dialogs; each answers its Cancel button.

NeoSettingsPlayerSubsystem.h

Module NeoSettings.

Delegates

  • FNeoSettingChangedForPlayer (const FString& SettingId, const FNeoSettingsValue& Value): A setting changed for this player: one of its own values, or a value every player shares.
  • FNeoSettingChangedForPlayerNative (const FString&, const FNeoSettingsValue&): The same, for C++ handlers that are not UFUNCTIONs (OnSettingChangedNative): the setting id, then its value.
  • FNeoScreenOpenedEvent (ENeoScreen Screen): A plugin screen of this player opened.
  • FNeoScreenClosedEvent (ENeoScreen Screen, ENeoScreenCloseReason Reason): A plugin screen of this player closed, and why.
  • FNeoGlyphFamilyEvent (ENeoGlyphFamily Family): The layout of this player's input prompts changed (device used, or the Button Prompts setting).
  • FNeoKeyCaptureEvent (const UInputAction* Action, ENeoInputDevice Device, int32 KeySlot, bool bBound, FKey NewKey): A key capture started by Begin Key Capture ended for the binding of Action on Device in KeySlot: bBound true with NewKey now bound, false when canceled.

UNeoSettingsPlayerSubsystem

Class UNeoSettingsPlayerSubsystem, based on ULocalPlayerSubsystem; shown as Neo Settings Player Subsystem.

Neo Settings for one local player: the player's own values (split-screen), key bindings and prompts, and the player's screens (main menu, pause menu, settings, dialogs, toasts), drawn in the player's part of the screen and driven by the player's controller. One per local player, created by the engine: nothing to set up. From Blueprint, get it from a Player Controller with the engine's Get Local Player Subsystem node.

Other

  • Get (C++ only)
    C++
    static UNeoSettingsPlayerSubsystem* Get(const UObject* PlayerOrWorldContext)
    The subsystem of the local player an object belongs to: the player itself, a Player Controller, a widget's owning player, a pawn's controller, an actor's owner or a component's actor; else the first local player of the object's game. Null when there is none (dedicated server, before the game has a player).
  • Add Referenced Objects (C++ only)
    C++
    static void AddReferencedObjects(UObject* InThis, FReferenceCollector& Collector)
    Garbage collection of what the player's screens and dialogs hold (widgets, presenter).
  • Player Controller Changed (C++ only)
    C++
    virtual void PlayerControllerChanged(APlayerController* NewPlayerController)
    Re-applies the player's settings (controls, camera, vibration) and bindings to a new controller (spawn, travel), and moves the player's open screens and input mode to it.
  • Call Or Register On Settings Loaded (C++ only)
    C++
    void CallOrRegisterOnSettingsLoaded(FSimpleDelegate Callback)
    C++: runs Callback at once when the settings are loaded, else when they are (OnSettingsLoadedNative).
  • Close Screen (C++ only)
    C++
    bool CloseScreen(ENeoScreen Screen, ENeoScreenCloseReason Reason)
    Closes one screen of this player's stack (with the screens above it) and fires On Screen Closed with Reason: the pause menu's Resume and the main menu's Play close their own menu with reason Player, a map change with Travel. Returns false when the screen is not on the stack. C++ only.
  • Close Screens (C++ only)
    C++
    void CloseScreens(ENeoScreenCloseReason Reason, bool bKeepDialogs)
    Closes every screen of this player with Reason; bKeepDialogs leaves the dialogs open (seamless travel keeps the game's dialogs). C++ only.
  • Show Dialog (C++ only)
    C++
    int32 ShowDialog(const FNeoDialogSpec& Spec, TFunction<void(FName ButtonId)> OnDone)
    Shows a themed dialog to this player (queued behind an open one); OnDone receives the id of the button pressed, or the spec's Cancel Button on Back, a map change or Close Dialog. Returns the dialog's id, INDEX_NONE when it cannot be shown (no viewport, dedicated server): OnDone is then never called. C++ only; Blueprint uses Show Confirm Dialog and Show Choice Dialog.

Neo Settings

  • Get Setting Value (Blueprint pure node)
    C++
    FNeoSettingsValue GetSettingValue(const FString& SettingId) const
    The player's value of a setting: its own for a per-player setting, else the shared one. Type None when the id is unknown.
  • Get Setting Bool (Blueprint pure node)
    C++
    bool GetSettingBool(const FString& SettingId, bool Fallback = false) const
    A toggle's value; Fallback when the id is unknown.
  • Get Setting Float (Blueprint pure node)
    C++
    float GetSettingFloat(const FString& SettingId, float Fallback = 0.0f) const
    A slider's value; Fallback when the id is unknown.
  • Get Setting Int (Blueprint pure node)
    C++
    int32 GetSettingInt(const FString& SettingId, int32 Fallback = 0) const
    A slider's value rounded to the nearest integer; Fallback when the id is unknown.
  • Get Setting String (Blueprint pure node)
    C++
    FString GetSettingString(const FString& SettingId, const FString& Fallback = TEXT("")) const
    The option id of a choice, or the text of a value; Fallback when the id is unknown.
  • Set Setting Value (Blueprint node)
    C++
    bool SetSettingValue(const FString& SettingId, const FNeoSettingsValue& Value)
    Changes a setting for this player from the game's code: bounded, applied at once and saved. A display mode is kept without the keep-or-revert countdown and a setting applied with Apply does not wait for it; Set Setting Value As Player does both, as the settings menu does. Returns false if it is refused (unknown id, value out of the options, grayed, or a shared setting another player owns).
  • Set Setting Bool (Blueprint node)
    C++
    bool SetSettingBool(const FString& SettingId, bool Value)
    Sets a toggle (see Set Setting Value).
  • Set Setting Float (Blueprint node)
    C++
    bool SetSettingFloat(const FString& SettingId, float Value)
    Sets a slider, clamped to its range and step (see Set Setting Value).
  • Set Setting String (Blueprint node)
    C++
    bool SetSettingString(const FString& SettingId, const FString& Value)
    Sets a choice by option id (see Set Setting Value).
  • Reset Setting (Blueprint node)
    C++
    void ResetSetting(const FString& SettingId)
    Puts a setting back to its default for this player.
  • Set Setting Value As Player (Blueprint node)
    C++
    bool SetSettingValueAsPlayer(const FString& SettingId, const FNeoSettingsValue& Value)
    Changes a setting the way the settings menu does when this player picks a value, for your own settings screen. A display mode (Apply Mode Confirm) is on screen at once and taken back unless Keep Display Changes is called before the countdown ends (Get Display Confirmation, On Display Confirmation Changed); a setting applied with Apply (Apply Mode Pending) waits for Apply Pending Settings. Returns false if it is refused (see Set Setting Value).
  • Reset Page (Blueprint node)
    C++
    void ResetPage(const FString& PageId)
    Puts every setting of a page back to its default for this player, at once (ask the player first). On a page with key bindings, its bindings too while Manage Key Bindings is on.
  • Get Display Confirmation (Blueprint pure node)
    C++
    FNeoDisplayConfirmation GetDisplayConfirmation() const
    The display change that waits to be kept, if any: seconds left, and the settings it changed. Nothing waits for a player who may not change the shared settings (split-screen): player 1 is the one asked.
  • Keep Display Changes (Blueprint node)
    C++
    void KeepDisplayChanges()
    Keeps the display change that waits: the mode on screen becomes the saved one. Nothing when none waits, or for a player who may not change the shared settings.
  • Revert Display Changes (Blueprint node)
    C++
    void RevertDisplayChanges()
    Takes the display change that waits back now, as the end of its countdown would. Nothing when none waits, or for a player who may not change the shared settings.
  • Are Settings Loaded (Blueprint pure node)
    C++
    bool AreSettingsLoaded() const
    True once the saved settings are loaded and applied: read the values from then on (On Settings Loaded).
  • Is Primary Player (Blueprint pure node)
    C++
    bool IsPrimaryPlayer() const
    True for the first local player of the game (player 1), who owns the main menu and the shared settings (display, graphics, audio, language...).
  • Get Local Player Index (Blueprint pure node)
    C++
    int32 GetLocalPlayerIndex() const
    The player's index among the local players of the game (0 for player 1); -1 without a local player.
  • On Setting Changed (Blueprint event to bind)
    C++
    FNeoSettingChangedForPlayer OnSettingChanged
    A setting changed for this player (player, Blueprint, import, reset): one of the player's own values, or a value every player shares.
  • On Settings State Changed (Blueprint event to bind)
    C++
    FNeoSimpleEvent OnSettingsStateChanged
    Something a settings UI shows changed without a value changing: a setting became visible, grayed or available, changes started or stopped waiting for Apply, a restart became necessary. Read the descriptors again.
  • On Display Confirmation Changed (Blueprint event to bind)
    C++
    FNeoSimpleEvent OnDisplayConfirmationChanged
    A display change started waiting to be kept, or stopped waiting: kept, taken back (its countdown ended, Revert Display Changes, a reset, a level change) or written by the game's code. Read Get Display Confirmation.
  • On Settings Loaded (Blueprint event to bind)
    C++
    FNeoSimpleEvent OnSettingsLoaded
    The saved settings are loaded and applied (applying them fires no On Setting Changed). It fires once, when the settings start, usually before your game's first widget: check Are Settings Loaded before waiting for it.

Neo Settings › Menus

  • Open Main Menu (Blueprint node)
    C++
    bool OpenMainMenu()
    Opens the main menu for this player. Returns false when it cannot open now (no viewport yet, the Neo Async Loading Screen, dedicated server).
  • Open Pause Menu (Blueprint node)
    C++
    bool OpenPauseMenu()
    Opens the pause menu, as the pause key does. Returns false when refused: a main menu, a dialog, the Neo Async Loading Screen or the fade to black of a level change is up, Set Pause Menu Allowed turned it off, or a dedicated server.
  • Open Settings (Blueprint node)
    C++
    bool OpenSettings(const FNeoSettingsOpenOptions& Options)
    Opens the settings menu on this player's screen stack (Back returns to the screen below it). Returns false only when the settings menu is already on this player's stack. Options.Player is ignored: this player opens it.
  • Close All Screens (Blueprint node)
    C++
    void CloseAllScreens()
    Closes every screen of this player (dialogs answer their Cancel button) and gives the game its input back; On Screen Closed says reason Code.
  • Is Any Screen Open (Blueprint pure node)
    C++
    bool IsAnyScreenOpen() const
    True while any plugin screen of this player is open.
  • Is Screen Open (Blueprint pure node)
    C++
    bool IsScreenOpen(ENeoScreen Screen) const
    True while this screen is on the player's stack.
  • Set Pause Menu Allowed (Blueprint node)
    C++
    void SetPauseMenuAllowed(bool bAllowed)
    Allows or refuses this player's pause menu (refuse it during a cutscene, allow it again after).
  • On Screen Opened (Blueprint event to bind)
    C++
    FNeoScreenOpenedEvent OnScreenOpened
    A screen of this player opened.
  • On Screen Closed (Blueprint event to bind)
    C++
    FNeoScreenClosedEvent OnScreenClosed
    A screen of this player closed, and why.

Neo Settings › Dialogs

  • Close Dialog (Blueprint node)
    C++
    void CloseDialog(int32 DialogId)
    Closes a dialog shown by Show Dialog (open or queued); it answers its Cancel Button.
  • Close All Dialogs (Blueprint node)
    C++
    void CloseAllDialogs()
    Closes every open and queued dialog of this player; each answers its Cancel Button.
  • Finish Dialog (Blueprint node)
    C++
    void FinishDialog(int32 DialogId, FName ButtonId)
    Answers a dialog with a button: for your own dialog widgets (Dialog Widget Class).
  • Show Toast (Blueprint node)
    C++
    void ShowToast(const FNeoToast& Toast)
    Shows a toast in a corner of this player's screen; it never takes the focus.

Neo Settings › Input Glyphs

  • Get Glyph Family (Blueprint pure node)
    C++
    ENeoGlyphFamily GetGlyphFamily() const
    The layout this player's prompts use now: Keyboard & Mouse, or the player's controller layout (the device used last, and the Button Prompts setting).
  • Get Key For Action (Blueprint pure node)
    C++
    FKey GetKeyForAction(const UInputAction* Action, ENeoInputDevice Device, int32 KeySlot = 0) const
    The key this player has for an action on a device, in a slot (0: the first key): the binding chosen in the menu, else the game's mapping contexts. None when the action has no key there.
  • Begin Key Capture (Blueprint node)
    C++
    bool BeginKeyCapture(const UInputAction* Action, ENeoInputDevice Device, int32 KeySlot = 0)
    Waits for the next key of this player and binds it to Action on Device in KeySlot, through the same rules as the settings menu (reserved keys refused, conflicts asked in a dialog). The result arrives through On Key Capture Finished. Returns false when the action cannot be rebound (not listed, locked) or a capture is running.
  • Cancel Key Capture (Blueprint node)
    C++
    void CancelKeyCapture()
    Stops a capture started by Begin Key Capture (On Key Capture Finished fires with bBound false).
  • Is Capturing Key (Blueprint pure node)
    C++
    bool IsCapturingKey() const
    True while a capture waits for a key.
  • On Glyph Family Changed (Blueprint event to bind)
    C++
    FNeoGlyphFamilyEvent OnGlyphFamilyChanged
    The layout of this player's prompts changed.
  • On Key Capture Finished (Blueprint event to bind)
    C++
    FNeoKeyCaptureEvent OnKeyCaptureFinished
    A capture started by Begin Key Capture ended: which binding, and the key now bound (bBound false: canceled).
  • On Bindings Changed (Blueprint event to bind)
    C++
    FNeoSimpleEvent OnBindingsChanged
    This player's key bindings changed (rebind, reset, import, the game's mapping contexts rebuilt): refresh the prompts you draw yourself.

NeoMenuSubsystem.h

Module NeoSettings.

Delegates

  • FNeoPlayerEvent (APlayerController* Player): Play started for a player (the main menu's Play, or Start Playing).
  • FNeoMenuEvent (FName EventName, APlayerController* Player): A menu item with an event action was chosen, or an arrow of an item with arrows pushed: EventName is the item's event (the arrow's), Player who chose it.
  • FNeoTravelEvent (bool bSeamless): A map change started: bSeamless for seamless travel, false for a map load that blocks the game.
  • FNeoConnectionLostEvent (const FText& Reason): The game lost its connection, or a travel failed; Reason is written for the player.
  • FNeoBoolEvent (bool bVisible): A state turned on or off (the Neo Async Loading Screen shown or hidden).

UNeoMenuSubsystem

Class UNeoMenuSubsystem, based on UGameInstanceSubsystem; shown as Neo Menu Subsystem.

The game's flow around the settings: the main menu at startup and after Return to Main Menu, Play, the pause menu's items, Quit, a fade to black around the level changes these menus start, and what happens to the menus when the connection is lost. Off until you turn it on in Project Settings > Neo Settings > Menus (or the editor's Setup tab): the functions below still work when called. With the Neo Async Loading Screen plugin enabled, the menus' level changes go behind its loading screen instead of the fade, and the Loading Screen functions below reach it. One per game instance; none on a dedicated server.

Other

  • Get (C++ only)
    C++
    static UNeoMenuSubsystem* Get(const UObject* WorldContextObject)
    The subsystem of the game instance of any object of a world. Null on a dedicated server, or without a game instance.
  • Should Create Subsystem (C++ only)
    C++
    virtual bool ShouldCreateSubsystem(UObject* Outer) const
    False on a dedicated server, the server instance of a multiplayer Play In Editor session included.
  • Run Menu Item For Player (C++ only)
    C++
    bool RunMenuItemForPlayer(FName ItemId, ULocalPlayer* Player)
    Run Menu Item for a local player of this game (the plugin's own menu screens; a player without a controller yet). Null: the first local player. C++ only.
  • Step Menu Item For Player (C++ only)
    C++
    bool StepMenuItemForPlayer(FName ItemId, int32 Direction, ULocalPlayer* Player)
    Step Menu Item for a local player of this game (the plugin's own menu screens). Null: the first local player. C++ only.
  • Get Loading Phase Number (reflected, no node)
    C++
    uint8 GetLoadingPhase() const
    Get Loading Phase as the number Neo Async Loading Screen's screen gives, 0 Hidden to 4 Closing (these numbers never change), passed on as it comes: GetLoadingScreenPhase reads any other as Covering, so prefer it in C++. 0 without that plugin. For code that reads the phase by reflection under this name, as Neo Async Loading Screen's twin tests do. Not a Blueprint node.
  • Is Main Menu Blocked By Loading Screen (C++ only)
    C++
    bool IsMainMenuBlockedByLoadingScreen() const
    True while the Neo Async Loading Screen keeps the main menu from opening: until it starts closing (the main menu then fades in under its fade out). Always false without that plugin. C++ only.
  • Is Travel Fade Visible (C++ only)
    C++
    bool IsTravelFadeVisible() const
    True while the fade to black of a level change the menus started is up (fading out, covering the load, or fading in over the new level). Only without Neo Async Loading Screen: with it, the level change goes behind its loading screen and nothing fades here. Open Pause Menu is refused meanwhile, Run Menu Item and Step Menu Item until the new level starts to show (no second level change, no Resume under the black). Not a loading screen: Is Loading Screen Visible stays false. C++ only.

Neo Settings › Menus

  • Show Main Menu (Blueprint node)
    C++
    bool ShowMainMenu()
    Shows the main menu for the primary player, over the current level. Returns false when it cannot show now (no viewport yet, the Neo Async Loading Screen, no local player).
  • Start Playing (Blueprint node)
    C++
    void StartPlaying()
    What the main menu's Play does: with Play Map empty, closes the main menu and gives the game its input back; with Play Map set, opens it with a fade to black, or behind the Neo Async Loading Screen when that plugin is enabled. On Play fires once the player is playing.
  • Return To Main Menu (Blueprint node)
    C++
    void ReturnToMainMenu(bool bConfirm = true)
    Leaves the game for the main menu: a networked game through the engine's Return To Main Menu (your session code runs), a standalone game by opening the main menu's map; with a fade to black, or behind the Neo Async Loading Screen when that plugin is enabled. bConfirm: ask the player first.
  • Quit Game With Confirmation (Blueprint node)
    C++
    void QuitGame(bool bConfirm = true)
    Quits the game, after asking the player when bConfirm (focus on Cancel). Use the engine's Quit Game to quit without the plugin.
  • Run Menu Item (Blueprint node)
    C++
    bool RunMenuItem(FName ItemId, APlayerController* Player = nullptr)
    Runs a menu item as if Player had chosen it (full id: main.play, pause.quit, main.credits...), for your own menu widgets. Player empty: the first local player. Returns false when the item is unknown, hidden or disabled now, or while the fade to black of a level change covers the game.
  • Step Menu Item (Blueprint node)
    C++
    bool StepMenuItem(FName ItemId, int32 Direction, APlayerController* Player = nullptr)
    Pushes an arrow of an item with arrows (a recipe's arrows line) as if Player had: Direction -1 the left one, +1 the right one. On Menu Event fires with that arrow's event, never after a question. For your own menu widgets (Left and Right on the item). Player empty: the first local player. Returns false when the item is unknown, hidden, disabled now or has no arrows, when Direction is 0, or while the fade to black of a level change covers the game.
  • Get Menu Items (Blueprint pure node)
    C++
    TArray<FNeoMenuItemView> GetMenuItems(ENeoScreen Menu, APlayerController* Player = nullptr) const
    The items of the main menu (Menu = Main Menu) or the pause menu (Pause Menu) as Player sees them now: hidden items left out, disabled ones with their reason. Player empty: the first local player. Empty for any other screen.
  • Get Menu Title (Blueprint pure node)
    C++
    FText GetMenuTitle(ENeoScreen Menu, APlayerController* Player = nullptr) const
    The title of the main menu (Project Settings' Game Title, else the project's Displayed Title, else its name; a recipe's title lines may say otherwise) or of the pause menu ("Paused"; "Menu" in a networked game), as Player sees it now. Player empty: the first local player. Empty for any other screen, and when Title Image replaces the main menu's title.
  • Set Menu Fact (Blueprint node)
    C++
    void SetMenuFact(FName Name, bool bValue)
    Sets a fact the menu recipes read as game.<Name> in their conditions (can_continue shows the main menu's Continue item). Unset facts read false.
  • On Play (Blueprint event to bind)
    C++
    FNeoPlayerEvent OnPlay
    Play started for a player: the main menu's Play, or Start Playing (after Play Map loaded, when one is set).
  • On Menu Event (Blueprint event to bind)
    C++
    FNeoMenuEvent OnMenuEvent
    A menu item with an event action was chosen (Project Settings' extra items, recipes' action event), or an arrow of an item with arrows pushed (recipes' arrows).
  • On Travel Started (Blueprint event to bind)
    C++
    FNeoTravelEvent OnTravelStarted
    A map change started (seamless or not).
  • On Travel Finished (Blueprint event to bind)
    C++
    FNeoSimpleEvent OnTravelFinished
    The new map has begun play after a map change.
  • On Connection Lost (Blueprint event to bind)
    C++
    FNeoConnectionLostEvent OnConnectionLost
    The connection to the server was lost, or a travel failed. With the main menu on, the player lands in it with a toast giving the cause.

Neo Settings › Loading Screen

  • Show Loading Screen (Blueprint node)
    C++
    void ShowLoadingScreen(FText Reason)
    Shows the Neo Async Loading Screen over the whole window to cover your own wait (the Reason is logged, never shown). Without that plugin: nothing (HSP308 in the log, once).
  • Hide Loading Screen (Blueprint node)
    C++
    void HideLoadingScreen()
    Hides the Neo Async Loading Screen shown by Show Loading Screen (a map load's loading screen hides by itself). Without that plugin: nothing (HSP308 in the log, once).
  • Add Loading Screen Hold (Blueprint node)
    C++
    void AddLoadingScreenHold(UObject* Holder, const FString& Reason)
    Keeps the Neo Async Loading Screen up after a map load until Remove Loading Screen Hold is called with the same Holder (or that plugin's maximum time passes). Without that plugin: nothing (HSP308 in the log, once).
  • Remove Loading Screen Hold (Blueprint node)
    C++
    void RemoveLoadingScreenHold(UObject* Holder)
    Releases a hold added by Add Loading Screen Hold. Without Neo Async Loading Screen: nothing (HSP308 in the log, once).
  • Is Loading Screen Visible (Blueprint pure node)
    C++
    bool IsLoadingScreenVisible() const
    True while the Neo Async Loading Screen covers the window; always false without that plugin (the fade to black of a level change is not a loading screen).
  • Get Loading Phase (Blueprint pure node)
    C++
    ENeoSettingsLoadingPhase GetLoadingScreenPhase() const
    Where the Neo Async Loading Screen is: Hidden, Opening (fading in), Covering (a map change or your own wait in progress), Holding (the new map began play; streaming, the pawn, holds or the minimum time still awaited), Closing (fading out). Always Hidden without that plugin.
  • On Loading Screen Visibility Changed (Blueprint event to bind)
    C++
    FNeoBoolEvent OnLoadingScreenVisibilityChanged
    The Neo Async Loading Screen was shown or hidden (told on the next frame). Never fires without that plugin.

NeoDialogAsyncAction.h

Module NeoSettings.

Delegates

  • FNeoDialogExec (): The dialog was answered (or canceled).
  • FNeoDialogChosen (FName ButtonId): A choice dialog was answered with ButtonId (its Cancel Button on Back or a map change).

UNeoConfirmDialogAction

Class UNeoConfirmDialogAction, based on UCancellableAsyncAction; shown as Neo Confirm Dialog.

Show Confirm Dialog: a themed question with a confirm and a cancel button, for one player, over anything (gameplay, your menus, the plugin's menus). One output fires once. Cancel (the node's async action) closes the dialog.

  • Show Confirm Dialog (Blueprint async node)
    C++
    static UNeoConfirmDialogAction* ShowConfirmDialog(const UObject* WorldContextObject, FText Title, FText Message, FText ConfirmLabel, FText CancelLabel, bool bDestructive = false, float TimeoutSeconds = 0.0f, APlayerController* Player = nullptr)
    Asks the player a question. Confirm Label and Cancel Label empty: the plugin's "Confirm" and "Cancel", in the player's language. Destructive: the confirm button is drawn in the destructive style and the focus starts on Cancel (no hold needed). TimeoutSeconds > 0: a countdown, then the dialog answers Cancel by itself. Player empty: the player the calling object belongs to (a widget's, a controller's, a pawn's), else the first local player.
  • On Confirmed (Blueprint event to bind)
    C++
    FNeoDialogExec OnConfirmed
    The player confirmed.
  • On Cancelled (Blueprint event to bind)
    C++
    FNeoDialogExec OnCancelled
    The player canceled (Cancel, Back), the countdown ended, a map change or Close Dialogs closed it, or it could not be shown.

UNeoChoiceDialogAction

Class UNeoChoiceDialogAction, based on UCancellableAsyncAction; shown as Neo Choice Dialog.

Show Choice Dialog: a themed dialog of up to three buttons for one player. On Chosen fires once with the id of the button pressed. Cancel (the node's async action) closes the dialog.

  • Show Choice Dialog (Blueprint async node)
    C++
    static UNeoChoiceDialogAction* ShowChoiceDialog(const UObject* WorldContextObject, const FNeoDialogSpec& Spec, APlayerController* Player = nullptr)
    Shows a dialog described by Spec (title, message, one to three buttons, default and cancel buttons, optional countdown). Player empty: the player the calling object belongs to (a widget's, a controller's, a pawn's), else the first local player.
  • On Chosen (Blueprint event to bind)
    C++
    FNeoDialogChosen OnChosen
    The button the player pressed; the spec's Cancel Button on Back, a map change, Close Dialogs, or when the dialog could not be shown.

NeoScreenWidgets.h

Module NeoSettings.

Base classes of your own look for the plugin's screens: subclass one in a Widget Blueprint and set it in Project Settings > Neo Settings (Main Menu Widget Class, Pause Menu Widget Class, Dialog Widget Class, Toast Widget Class). The plugin keeps the logic (items and their conditions, flow, focus, Back, input mode, queueing, timing); your widget only draws.

UNeoMenuScreenWidget

Class UNeoMenuScreenWidget, based on UUserWidget; shown as Neo Menu Screen Widget (abstract, subclass it in Blueprint).

Your main menu or pause menu look, fed with the plugin's items. Draw the items given by On Menu Refresh (or Get Items) and call Run Item when one is chosen; wire your back action to Request Back.

Neo Settings

  • Get Menu (Blueprint pure node)
    C++
    ENeoScreen GetMenu() const
    Which menu this widget shows: Main Menu or Pause Menu.
  • Get Title (Blueprint pure node)
    C++
    FText GetTitle() const
    The menu's title (Project Settings' Game Title, the recipe's title line, "Paused" or "Menu").
  • Get Items (Blueprint pure node)
    C++
    TArray<FNeoMenuItemView> GetItems() const
    The items as the player sees them now: hidden ones left out, disabled ones with their reason.
  • Run Item (Blueprint node)
    C++
    bool RunItem(FName ItemId)
    Runs an item as the plugin's own menu does (asks its confirmation first when it has one). Returns false when the item is unknown or disabled.
  • Step Item (Blueprint node)
    C++
    bool StepItem(FName ItemId, int32 Direction)
    Pushes an arrow of an item with arrows (its view's Arrows), as Left (Direction -1) and Right (+1) do on the plugin's own menu: On Menu Event fires with that arrow's event. Returns false when the item is unknown, disabled or has no arrows.
  • Request Back (Blueprint node)
    C++
    void RequestBack()
    Does what Back does on this menu (the pause menu resumes; the main menu does nothing).
  • On Menu Refresh (Blueprint event to implement)
    C++
    void OnMenuRefresh(const FText& Title, const TArray<FNeoMenuItemView>& Items)
    The title or the items changed (shown, a condition changed, the language changed): draw them again.

Other

  • Initialize Menu (C++ only)
    C++
    void InitializeMenu(ENeoScreen InMenu, TFunction<void()> InOnBack)
    Which menu the widget shows, and what its Back does (the plugin creates the widget for the menu's player, then calls this before adding it).

UNeoDialogWidget

Class UNeoDialogWidget, based on UUserWidget; shown as Neo Dialog Widget (abstract, subclass it in Blueprint).

Your dialog look. Draw the spec given by On Dialog Shown (title, message, buttons, default button, countdown) and call Answer with the id of the button the player presses. Back answers the spec's Cancel Button by itself.

Neo Settings

  • Get Dialog Id (Blueprint pure node)
    C++
    int32 GetDialogId() const
    The dialog's id (Close Dialog, Finish Dialog).
  • Get Spec (Blueprint pure node)
    C++
    FNeoDialogSpec GetSpec() const
    What the dialog asks.
  • Answer (Blueprint node)
    C++
    void Answer(FName ButtonId)
    Answers the dialog with a button id; the plugin closes it.
  • On Dialog Shown (Blueprint event to implement)
    C++
    void OnDialogShown(const FNeoDialogSpec& Spec)
    The dialog is shown: draw its title, message and buttons, focus the default button.
  • On Countdown (Blueprint event to implement)
    C++
    void OnCountdown(float SecondsLeft)
    Seconds left of the countdown (dialogs with a timeout), each second.

Other

  • Initialize Dialog (C++ only)
    C++
    void InitializeDialog(int32 InDialogId, const FNeoDialogSpec& InSpec)
    The dialog the widget shows (the plugin calls it before adding the widget).
  • Set Answer Handler (C++ only)
    C++
    void SetAnswerHandler(TFunction<void(FName ButtonId)> InOnAnswer)
    Where Answer goes (the plugin sets it with InitializeDialog); unset: Finish Dialog on the owning player.

UNeoToastWidget

Class UNeoToastWidget, based on UUserWidget; shown as Neo Toast Widget (abstract, subclass it in Blueprint).

Your toast look. Draw the toast given by On Toast Shown; the plugin places, stacks, times and removes it.

Neo Settings

  • Get Toast (Blueprint pure node)
    C++
    FNeoToast GetToast() const
    What the toast says.
  • On Toast Shown (Blueprint event to implement)
    C++
    void OnToastShown(const FNeoToast& Toast)
    The toast appears: draw its message and its kind's icon (never its color alone).
  • On Toast Hidden (Blueprint event to implement)
    C++
    void OnToastHidden()
    The toast's time is up: play your exit animation (the widget is removed about 0.2 s later).

Other

  • Initialize Toast (C++ only)
    C++
    void InitializeToast(const FNeoToast& InToast)
    The toast the widget shows (the plugin calls it before adding the widget).

NeoScreenPresenter.h

Module NeoSettings.

FNeoScreenRequest

Struct FNeoScreenRequest; shown as Neo Screen Request (Blueprint type).

A plugin screen to show or remove, handed to your presenter.

  • Screen (Blueprint read only)
    C++
    ENeoScreen Screen = ENeoScreen::Settings
    Which screen.
  • Player (Blueprint read only)
    C++
    TObjectPtr<APlayerController> Player = nullptr
    The local player the screen belongs to.
  • Widget (Blueprint read only)
    C++
    TObjectPtr<UNeoScreenWidget> Widget = nullptr
    The screen as a widget: place it in your UI (one of your activatable widgets, a panel of your HUD).

UNeoScreenPresenter

Class UNeoScreenPresenter, based on UObject; shown as Neo Screen Presenter (abstract, subclass it in Blueprint).

Puts the plugin's screens into your own UI stack instead of the plugin's layer: subclass it (Blueprint or C++), set it as Project Settings > Neo Settings > Integration > Screen Presenter Class. For each screen the plugin calls Present Screen; return true and your UI owns where it is drawn and the input mode (push one of your activatable widgets holding Request.Widget, for instance); return false and the plugin draws it in its own layer. Dismiss Screen comes when the screen closes. One presenter per local player.

Neo Settings

  • Present Screen (Blueprint event to override)
    C++
    bool PresentScreen(const FNeoScreenRequest& Request)
    Show the screen in your UI. Return false to let the plugin draw it in its own layer (logged once, HSP402).
  • Dismiss Screen (Blueprint event to override)
    C++
    void DismissScreen(const FNeoScreenRequest& Request)
    The screen closed: remove what Present Screen added. Called only for screens your presenter accepted.

Other

  • Get World (C++ only)
    C++
    virtual UWorld* GetWorld() const
    The world of the local player the presenter serves (so Blueprint presenters can call world nodes).

UNeoScreenWidget

Class UNeoScreenWidget, based on UWidget; shown as Neo Screen.

A plugin screen (main menu, pause menu, settings, dialog) as a UMG widget, handed to a presenter. It draws the screen and handles its keys, Back included, and passes the focus it receives to the screen (make it your activatable widget's desired focus target); it does not change the input mode (the presenter's UI owns it). Made by the plugin only: not in the UMG palette.

Neo Settings

  • Get Screen (Blueprint pure node)
    C++
    ENeoScreen GetScreen() const
    Which screen this widget draws.
  • Request Back (Blueprint node)
    C++
    void RequestBack()
    Does what Back does on the screen (closes a dialog, returns to the previous screen, resumes from the pause menu): wire your UI's back action to it.

Other

  • Set Screen Content (C++ only)
    C++
    void SetScreenContent(ENeoScreen InScreen, TSharedPtr<SWidget> InContent, TFunction<void()> InOnBack)
    Sets what the widget draws (the plugin, before handing it to the presenter). OnBack runs Back on the screen.
  • Get Owning Player (C++ only)
    C++
    virtual APlayerController* GetOwningPlayer() const
    The controller of the player the screen was made for when no user widget of yours holds it in its tree: CommonUI's action router focuses its desired target through it (Set Focus).

NeoSettingWidgets.h

Module NeoSettings.

Building blocks for studios with their own UI. Two levels, reading the same settings as the plugin's menu: - our logic, your look: Widget Blueprint bases (setting rows, key binding row, section header, settings list) that bind to widgets you name in the designer (Label Text, Value Text, Check Box, Slider...) and refresh on events; - our look, anywhere: native themed widgets of the UMG palette (Input Prompt, Rebind Button; the Settings Panel and Setting Row live in NeoSettingsPanel.h). Each widget acts for its owning player (split-screen). Ready-made bases to duplicate: /NeoSettings/UMG/ (WBP_HS_ToggleRow, WBP_HS_SliderRow, WBP_HS_ChoiceRow, WBP_HS_KeyRow, WBP_HS_SectionHeader, WBP_HS_ExamplePage).

Delegates

  • FNeoReboundEvent (FKey NewKey): A Rebind Button bound a new key.
  • FNeoReboundNative (const FKey& /*NewKey*/): A Rebind Button bound a new key (C++).

UNeoSettingWidget

Class UNeoSettingWidget, based on UUserWidget; shown as Neo Setting Widget (abstract, subclass it in Blueprint).

Base of a setting row with your look: set Setting Id, name the optional text widgets Label Text, Value Text, Description Text and Reason Text in the designer, and draw the rest in On Refresh. Refreshes itself when the setting or its state changes for the owning player. With the keyboard or a controller, Left and Right step the value and Accept flips a toggle or runs a button when the row (or a control that leaves those keys) has the focus.

Neo Settings

  • Setting Id (Blueprint read and write)
    C++
    FString SettingId
    The setting this widget shows and edits.
  • Use Style (Blueprint read and write)
    C++
    bool bUseStyle = false
    Give the bound texts the fonts and colors of the settings menu's rows (the project's style). The templates tick it; untick it to style them yourself.
  • Collapse When Hidden (Blueprint read and write)
    C++
    bool bCollapseWhenHidden = true
    Collapse the row while the setting is not offered to the owning player (platform, hardware, its conditions) and show it again when it is (never in the designer). Untick it to decide in On Refresh (Info's Visible).
  • Label Text (optional widget to name in the designer)
    C++
    TObjectPtr<UTextBlock> LabelText
    Optional: receives the setting's label.
  • Value Text (optional widget to name in the designer)
    C++
    TObjectPtr<UTextBlock> ValueText
    Optional: receives the value as the menu writes it ("85°", "On").
  • Description Text (optional widget to name in the designer)
    C++
    TObjectPtr<UTextBlock> DescriptionText
    Optional: receives the setting's description.
  • Reason Text (optional widget to name in the designer)
    C++
    TObjectPtr<UTextBlock> ReasonText
    Optional: receives why the setting is grayed (empty when it is not).
  • Get Info (Blueprint pure node)
    C++
    FNeoSettingInfo GetInfo() const
    The setting as the owning player sees it now.
  • Set Value (Blueprint node)
    C++
    bool SetValue(const FNeoSettingsValue& Value)
    Changes the setting for the owning player, as the menu does (a display mode asks to be kept; a setting applied with Apply waits for it). Returns false if it is refused.
  • Step (Blueprint node)
    C++
    void Step(int32 Direction)
    Steps the value: +1 or -1 step of a slider, the next or previous available option of a choice; flips a toggle whatever Direction.
  • Reset To Default (Blueprint node)
    C++
    void ResetToDefault()
    Puts the setting back to its default for the owning player.
  • Refresh (Blueprint node)
    C++
    void Refresh()
    Reads the setting again and calls On Refresh (done by itself on every change).
  • On Refresh (Blueprint event to implement)
    C++
    void OnRefresh(const FNeoSettingInfo& Info)
    Draw the setting: called when the widget is constructed and whenever the setting or its state changes. Info's Visible is false when the setting is not offered to this player (platform, hardware, conditions): hide the row.

Other

  • Get Shown Info (C++ only)
    C++
    const FNeoSettingInfo& GetShownInfo() const
    The descriptor last drawn (C++).
  • Native Refresh (protected: for subclasses)
    C++
    virtual void NativeRefresh(const FNeoSettingInfo& Info)
    Fills the bound widgets from Info (subclasses add their control), then calls On Refresh.
  • Get Focus Target (protected: for subclasses)
    C++
    virtual UWidget* GetFocusTarget() const
    The control that takes the row's focus (the list links rows through them); null: the row itself.
  • Activate (protected: for subclasses)
    C++
    virtual void Activate()
    Accept on the row: a toggle flips, a choice takes its next option, a button runs.
  • Get Acting Player (protected: for subclasses)
    C++
    ULocalPlayer* GetActingPlayer() const
    The owning player (null in the designer).
  • Get Owner List (protected: for subclasses)
    C++
    UNeoSettingsList* GetOwnerList() const
    The Settings List that made the row (null for a row placed on its own).

UNeoToggleSettingWidget

Class UNeoToggleSettingWidget, based on UNeoSettingWidget; shown as Neo Toggle Setting Widget (abstract, subclass it in Blueprint).

A toggle row: name a Check Box "Check Box" in the designer, or draw your own and call Set Value or Step.

  • Check Box (optional widget to name in the designer)
    C++
    TObjectPtr<UCheckBox> CheckBox
    Optional: follows the value and changes it when clicked.

UNeoSliderSettingWidget

Class UNeoSliderSettingWidget, based on UNeoSettingWidget; shown as Neo Slider Setting Widget (abstract, subclass it in Blueprint).

A slider row: name a Slider "Slider" in the designer (its range and step follow the setting).

  • Slider (optional widget to name in the designer)
    C++
    TObjectPtr<USlider> Slider
    Optional: follows the value and changes it when dragged.

UNeoChoiceSettingWidget

Class UNeoChoiceSettingWidget, based on UNeoSettingWidget; shown as Neo Choice Setting Widget (abstract, subclass it in Blueprint).

A choice row: name buttons "Prev Button" and "Next Button" (and optionally a Combo Box String "Combo Box").

  • Prev Button (optional widget to name in the designer)
    C++
    TObjectPtr<UButton> PrevButton
    Optional: previous available option.
  • Next Button (optional widget to name in the designer)
    C++
    TObjectPtr<UButton> NextButton
    Optional: next available option.
  • Combo Box (optional widget to name in the designer)
    C++
    TObjectPtr<UComboBoxString> ComboBox
    Optional: every available option, the current one selected.

UNeoActionSettingWidget

Class UNeoActionSettingWidget, based on UNeoSettingWidget; shown as Neo Action Setting Widget (abstract, subclass it in Blueprint).

A button row (reset a page, run a benchmark, export...): name a Button "Button" in the designer.

  • Button (optional widget to name in the designer)
    C++
    TObjectPtr<UButton> Button
    Optional: runs the setting's action (after its confirmation, when it has one).
  • Run Action (Blueprint node)
    C++
    void RunAction()
    Runs the setting's action for the owning player, as its button does (its question first, when it has one).

UNeoKeyBindingWidget

Class UNeoKeyBindingWidget, based on UUserWidget; shown as Neo Key Binding Widget (abstract, subclass it in Blueprint).

A key binding row with your look: Action, Device and Key Slot say which binding; name a Button "Key Button" to start a capture when clicked, a Text Block "Label Text" for the action's name, and a Text Block "Key Text" or Images "Key Image" and "Plate Image" to show the key. Captures go through the owning player (reserved keys refused, conflicts asked in the plugin's dialog).

  • Action (Blueprint read and write)
    C++
    TObjectPtr<UInputAction> Action
    The action whose key this row shows and rebinds.
  • Device (Blueprint read and write)
    C++
    ENeoInputDevice Device = ENeoInputDevice::KeyboardMouse
    Keyboard and mouse, or gamepad.
  • Key Slot (Blueprint read and write)
    C++
    int32 KeySlot
    Which of the action's keys on that device (0: the first).
  • Use Style (Blueprint read and write)
    C++
    bool bUseStyle = false
    Give the bound texts the fonts and colors of the settings menu (the project's style). The templates tick it.
  • Key Button (optional widget to name in the designer)
    C++
    TObjectPtr<UButton> KeyButton
    Optional: starts a capture when clicked.
  • Label Text (optional widget to name in the designer)
    C++
    TObjectPtr<UTextBlock> LabelText
    Optional: the action's name ("Jump"), as the controls page writes it.
  • Key Text (optional widget to name in the designer)
    C++
    TObjectPtr<UTextBlock> KeyText
    Optional: the key's name, or "Press a key" during a capture.
  • Key Image (optional widget to name in the designer)
    C++
    TObjectPtr<UImage> KeyImage
    Optional: the key's legend (a controller button, an arrow...).
  • Plate Image (optional widget to name in the designer)
    C++
    TObjectPtr<UImage> PlateImage
    Optional: the controller button's silhouette, behind the legend.
  • Get Key (Blueprint pure node)
    C++
    FKey GetKey() const
    The key bound now (None when unbound).
  • Is Capturing (Blueprint pure node)
    C++
    bool IsCapturing() const
    True while a capture started by this row waits for a key.
  • Begin Capture (Blueprint node)
    C++
    bool BeginCapture()
    Waits for the owning player's next key and binds it. Returns false when the action cannot be rebound.
  • Refresh (Blueprint node)
    C++
    void Refresh()
    Reads the binding again and calls On Key Refresh (done by itself on every change).
  • On Key Refresh (Blueprint event to implement)
    C++
    void OnKeyRefresh(const FKey& Key, const FNeoInputGlyph& Glyph, bool bIsCapturing)
    Draw the binding: called when the widget is constructed, when a capture starts or ends and when bindings change.

UNeoSectionHeaderWidget

Class UNeoSectionHeaderWidget, based on UUserWidget; shown as Neo Section Header Widget (abstract, subclass it in Blueprint).

A section title of a Settings List: name a Text Block "Label Text", or draw it in On Section.

Neo Settings

  • Use Style (Blueprint read and write)
    C++
    bool bUseStyle = false
    Give Label Text the font and color of the settings menu's section titles (the project's style).
  • Label Text (optional widget to name in the designer)
    C++
    TObjectPtr<UTextBlock> LabelText
    Optional: receives the section's title.
  • On Section (Blueprint event to implement)
    C++
    void OnSection(const FNeoSectionInfo& Section)
    Draw the section's title.

Other

  • Set Section (C++ only)
    C++
    void SetSection(const FNeoSectionInfo& InSection)
    The section the header shows (the list calls it after creating the header).

UNeoSettingsList

Class UNeoSettingsList, based on UUserWidget; shown as Neo Settings List (abstract, subclass it in Blueprint).

A whole settings page with your look: name a panel (a Vertical Box, a Scroll Box) "Rows" in the designer; the list fills it with a header per section and a row per setting, from the recipes and their conditions, with the classes you give per kind. It keeps the focused row when it refreshes and links the rows for gamepad navigation.

Neo Settings

  • Page Id (Blueprint read and write)
    C++
    FString PageId
    The page to show (page id, e.g. "graphics").
  • Row Classes (Blueprint read and write)
    C++
    TMap<ENeoSettingKind, TSubclassOf<UNeoSettingWidget>> RowClasses
    The row class of each kind of setting (a kind without a class is skipped).
  • Key Binding Row Class (Blueprint read and write)
    C++
    TSubclassOf<UNeoKeyBindingWidget> KeyBindingRowClass
    The row class of key bindings, on controls pages (one per key slot of the page, side by side).
  • Section Header Class (Blueprint read and write)
    C++
    TSubclassOf<UNeoSectionHeaderWidget> SectionHeaderClass
    The class of section titles; empty: no titles.
  • Show Advanced (Blueprint read and write)
    C++
    bool bShowAdvanced = true
    Show the settings the menu keeps under "Advanced" too.
  • Rows (required widget to name in the designer)
    C++
    TObjectPtr<UPanelWidget> Rows
    Required: the panel the rows go into.
  • Set Page (Blueprint node)
    C++
    void SetPage(const FString& NewPageId)
    Shows another page.
  • Rebuild (Blueprint node)
    C++
    void Rebuild()
    Builds the rows again (done by itself when a setting appears, disappears or moves).
  • Find Row (Blueprint pure node)
    C++
    UNeoSettingWidget* FindRow(const FString& SettingId) const
    The row of a setting, null when it is not shown.

Other

  • Get Focused Row Id (C++ only)
    C++
    FString GetFocusedRowId() const
    The setting or binding row that has (or last had) the focus: what a rebuild gives the focus back to (C++).
  • Notify Row Focused (C++ only)
    C++
    void NotifyRowFocused(const FString& RowId)
    A row of the list received the focus (its rows call it; C++).
  • Get Built Keys (C++ only)
    C++
    const TArray<FString>& GetBuiltKeys() const
    The page's structure as built, in order: "section:<section id>", setting ids, "binding:<section id>:<n>" (tests and tools; C++).
  • Get Page Id Options (reflected, no node)
    C++
    TArray<FString> GetPageIdOptions() const
    The ids of the pages the settings have (the Page Id drop-down).

UNeoInputPrompt

Class UNeoInputPrompt, based on UWidget; shown as Input Prompt.

Input Prompt: the key or button of an action for the owning player, drawn like the menu's prompts, with an optional label. It follows the device the player uses, the Button Prompts setting and rebinds by itself (no timer, no wiring).

Neo Settings

  • Action (Blueprint read and write)
    C++
    TObjectPtr<UInputAction> Action
    The action to show; empty: Key.
  • Key (Blueprint read and write)
    C++
    FKey Key
    The key to show when Action is empty.
  • Label (Blueprint read and write)
    C++
    FText Label
    Text beside the glyph ("Jump").
  • Show Label (Blueprint read and write)
    C++
    bool bShowLabel = true
    Draw Label beside the glyph.
  • Family (Blueprint read and write)
    C++
    ENeoGlyphFamily Family = ENeoGlyphFamily::Auto
    Layout of the glyph; Auto: the device the player used last.
  • Size (Blueprint read and write)
    C++
    float Size = 32.0f
    Height of the glyph, in Slate units.
  • Tint (Blueprint read and write)
    C++
    FLinearColor Tint = FLinearColor::White
    Color of the legend and the label.
  • Plate Tint (Blueprint read and write)
    C++
    FLinearColor PlateTint = FLinearColor(0.08f, 0.08f, 0.08f, 0.85f)
    Color of a controller button's silhouette and of a keycap.
  • Hide When Unbound (Blueprint read and write)
    C++
    bool bHideWhenUnbound = false
    Hide the prompt when the action has no key on the device in use (otherwise an empty keycap shows).
  • Set Action (Blueprint node)
    C++
    void SetAction(UInputAction* NewAction)
    Shows another action and redraws.
  • Set Key (Blueprint node)
    C++
    void SetKey(FKey NewKey)
    Shows another key (used when Action is empty) and redraws.
  • Set Label (Blueprint node)
    C++
    void SetLabel(FText NewLabel)
    Changes the text beside the glyph and redraws.

Other

  • Get Shown Key (C++ only)
    C++
    FKey GetShownKey() const
    The key drawn now (None: no key on the device in use), and its layout (C++).
  • Refresh (C++ only)
    C++
    void Refresh()
    Reads the key and the layout again and redraws (done by itself on the player's events; C++).

UNeoRebindButton

Class UNeoRebindButton, based on UWidget; shown as Rebind Button.

Rebind Button: a themed keycap showing the key of an action for the owning player; clicking or pressing it waits for a new key and binds it, with the plugin's rules and conflict dialog.

Neo Settings

  • Action (Blueprint read and write)
    C++
    TObjectPtr<UInputAction> Action
    The action to rebind.
  • Device (Blueprint read and write)
    C++
    ENeoInputDevice Device = ENeoInputDevice::KeyboardMouse
    Keyboard and mouse, or gamepad.
  • Key Slot (Blueprint read and write)
    C++
    int32 KeySlot
    Which of the action's keys on that device (0: the first).
  • Theme (Blueprint read and write)
    C++
    FString Theme
    Style id (empty: the project's style).
  • On Rebound (Blueprint event to bind)
    C++
    FNeoReboundEvent OnRebound
    A new key was bound.
  • Begin Capture (Blueprint node)
    C++
    bool BeginCapture()
    Starts waiting for a key, as a click does. Returns false when the action cannot be rebound.
  • Is Capturing (Blueprint pure node)
    C++
    bool IsCapturing() const
    True while the button waits for a key.

Other

  • On Rebound Native (C++ only)
    C++
    FNeoReboundNative OnReboundNative
    A new key was bound (C++).
  • Get Shown Key (C++ only)
    C++
    FKey GetShownKey() const
    The key shown now (None: unbound; C++).
  • Refresh (C++ only)
    C++
    void Refresh()
    Reads the key again and redraws (done by itself on the player's events; C++).

NeoSettingsPanel.h

Module NeoSettings.

Delegates

  • FNeoSettingsPanelEvent ()
  • FNeoSettingRowEvent (const FString& SettingId, const FNeoSettingsValue& Value): A Setting Row's value changed (the player, or anything else that changed the setting).

UNeoSettingsPanel

Class UNeoSettingsPanel, based on UWidget; shown as Neo Settings Panel.

The settings menu as a UMG widget, to place inside your own menus. It does not change the input mode: your menu keeps owning it. It acts for its owning player (split-screen): that player's own settings and controls, its controller only, its confirmations and messages in its part of the screen. Use Open Settings Menu instead for a ready-made screen that takes the input.

  • Theme (Blueprint read and write)
    C++
    FString Theme
    Theme id (empty: the project's).
  • Page (Blueprint read and write)
    C++
    FString Page
    First page (empty: the first one, or the page the player visited last in this session). To show one page with your own tabs or around your own layout, use a Neo Settings List (your look) or Neo Setting Rows (this look).
  • Draw Backdrop (Blueprint read and write)
    C++
    bool bDrawBackdrop = false
    Draw the theme backdrop (blur, dim). Off when your menu already has a background.
  • From Main Menu (Blueprint read and write)
    C++
    bool bFromMainMenu = false
    The panel is part of the main menu, not of an in-game menu (recipe conditions menu.mainmenu and menu.ingame).
  • On Back Requested (Blueprint event to bind)
    C++
    FNeoSettingsPanelEvent OnBackRequested
    The player pressed Back on the first level of the menu: close or pop your menu.
  • Focus Panel (Blueprint node)
    C++
    void FocusPanel()
    Gives the panel the focus of its owning player's controller.

UNeoSettingRow

Class UNeoSettingRow, based on UWidget; shown as Neo Setting Row.

One themed setting row, drawn like the settings menu's (label, control, value, changed marker, grayed state with its padlock), to place anywhere in your UMG: a quick volume slider in a pause screen, a difficulty choice in a new game screen. It acts for its owning player and handles mouse, keyboard and gamepad itself (Left and Right change the value, Accept flips or runs it, Up and Down are left to your layout). It draws nothing while the setting is not offered to the player (platform, hardware, conditions).

  • Setting Id (Blueprint read and write)
    C++
    FString SettingId
    The setting the row shows and edits.
  • Theme (Blueprint read and write)
    C++
    FString Theme
    Style id (empty: the project's style).
  • On Value Changed (Blueprint event to bind)
    C++
    FNeoSettingRowEvent OnValueChanged
    The row's value changed.
  • Focus Row (Blueprint node)
    C++
    void FocusRow()
    Gives the row the focus of its owning player's controller.

NeoSettingsProjectSettings.h

Module NeoSettings.

ENeoFirstLaunchQuality

Enum ENeoFirstLaunchQuality; shown as Neo First Launch Quality (Blueprint type).

The quality a first launch starts on (no quality chosen yet), in Standalone and packaged games.

ValueShown asMeaning
EngineEngine DefaultThe levels the engine picks (scalability defaults, device profile): the plugin applies nothing.
LowLow
MediumMedium
HighHigh
EpicEpic
CinematicCinematic
AutoDetectAuto-DetectMeasures the machine at the first launch (the screen may freeze for a few seconds) and picks levels that suit it.

FNeoSettingRule

Struct FNeoSettingRule; shown as Neo Setting Rule (Blueprint type).

A dependency between settings (Project Settings > Setting Rules): while Condition holds, Setting is grayed with Reason and shows and applies Value; the player's own value comes back when the condition ends. The same as a force <value> when <condition> "<reason>" line of a recipe.

  • Setting (Blueprint read and write)
    C++
    FString Setting
    The setting the rule forces: a toggle, a slider or a choice (not a preset: force the settings it sets).
  • Condition (Blueprint read and write)
    C++
    FString Condition
    When it applies, in the recipe language: graphics.vsync, graphics.upscaler == dlss, not platform.desktop...
  • Value (Blueprint read and write)
    C++
    FString Value
    The value while the condition holds: true or false (toggle), a number (slider), an option id (choice).
  • Reason (Blueprint read and write)
    C++
    FText Reason
    Shown on the grayed row; empty: "Set by another setting."

FNeoPresetLine

Struct FNeoPresetLine; shown as Neo Preset Line (Blueprint type).

A line of a quality preset's level (Project Settings > Quality Preset Lines), merged with the shipped levels: the same as override <preset> { options { <level> { set <setting> <value> } } } in a recipe.

  • Preset (Blueprint read and write)
    C++
    FString Preset
    The preset; empty: the Graphics page's Quality Preset (graphics.preset).
  • Level (Blueprint read and write)
    C++
    FName Level
    The level: low, medium, high, epic, cinematic, or a new level's id.
  • Level Label (Blueprint read and write)
    C++
    FText LevelLabel
    The label of a new level (a shipped level keeps its own).
  • Setting (Blueprint read and write)
    C++
    FString Setting
    The setting this level sets.
  • Value (Blueprint read and write)
    C++
    FString Value
    Its value at this level (true or false, a number, an option id); empty: the level no longer sets it.

UNeoSettingsProjectSettings

Class UNeoSettingsProjectSettings, based on UDeveloperSettings; shown as Neo Settings (saved in the project's config).

Project Settings > Plugins > Neo Settings. Everything here is optional: with the defaults the menu works on any project. Values are written to DefaultGame.ini only when you change them.

Other

  • Get Declared Defaults (C++ only)
    C++
    static const TMap<FName, FString>& GetDeclaredDefaults()
    Every config field as the class declares it, before any .ini is read, exported as text (FProperty::ExportText): the Setup tab's "back to default".
  • Get Theme Ids (reflected, no node)
    C++
    static TArray<FString> GetThemeIds()
  • Get Style Genre Order (C++ only)
    C++
    static TArray<FName> GetStyleGenreOrder()
    The genres a style can be filed under (the Setup tab's chips), in their order: action, fantasy, scifi, horror, retro, casual, minimal.
  • Get Shipped Style Genres (C++ only)
    C++
    static TArray<FName> GetShippedStyleGenres(const FString& ThemeId)
    A shipped style's genres (one or two, the main one first); empty for any other style (a project's own: the Setup tab files it under the genres of the style it extends).
  • Is Main Menu On (C++ only)
    C++
    bool IsMainMenuOn() const
    Main Menu, or the Setup tab's Try it for the session that runs: every runtime read of the flow goes through it.
  • Is Pause Menu On (C++ only)
    C++
    bool IsPauseMenuOn() const
    Pause Menu, or Try it.

Style

  • Theme (Project Settings field)
    C++
    FString Theme = TEXT("noir")
    Shipped styles: vanguard, noir, arcade, holo, chronicle, paper, pixel, cozy, sport, rebel, fathom, phosphor, retrowave, sumi, implant, somber, eerie, frontier, orbit, fjord (or a theme id from your recipes, such as one Save as style wrote).
  • Palette Overrides (Project Settings field)
    C++
    TMap<FName, FLinearColor> PaletteOverrides
    Colors replaced in every style, after all recipes; the high contrast variant keeps its own.
  • Font Scale (Project Settings field)
    C++
    float FontScale = 1.0f
    Multiplies every font size of the menu (on top of the player's UI scale).
  • Style Edits (Project Settings field)
    C++
    FNeoStyleEdits StyleEdits
    The Setup tab's style editor: fonts, corners, outlines, selection, backdrop, motion, sounds and menu position, laid over every style after all recipes (colors are Palette Overrides, text size Font Scale). Docs/Styles.md, The style editor.

Content

  • Hidden Pages (Project Settings field)
    C++
    TArray<FString> HiddenPages
    Pages of the standard catalog to hide (page ids: gameplay, display, graphics, audio, controls, keyboard, gamepad, access).
  • Hidden Settings (Project Settings field)
    C++
    TArray<FString> HiddenSettings
    Settings, sections or pages to hide (ids).
  • Enabled Optional Settings (Project Settings field)
    C++
    TArray<FString> EnabledOptionalSettings
    Optional settings to show in the menu (opt-in ids, e.g. gameplay.head_bob, access.reduce_flashes). The menu shows and saves their values; your game reads them and applies them, but for the camera effects and Landscape, which the plugin applies once your project sets them up.
  • Disabled Technologies (Project Settings field)
    C++
    TArray<FString> DisabledTechnologies
    Image technologies the menu must never offer even if their plugin is present: dlss, dlssg, reflex, fsr, fsrfg, raytracing, hdr.
  • Custom Settings (Project Settings field)
    C++
    TArray<FNeoSettingsCustomSetting> CustomSettings
    Settings declared here, without writing a recipe.
  • Recipes (Project Settings field)
    C++
    TArray<TSoftObjectPtr<UNeoSettingsRecipe>> Recipes
    Your recipes (.hset files imported as assets). Applied after the plugin's catalog, in this order.

Audio

  • Audio Channels (Project Settings field)
    C++
    TArray<FNeoSettingsAudioChannel> AudioChannels
    Volume channels and the sound classes or buses they drive. Channels without targets are hidden.

Controls

  • Manage Key Bindings (Project Settings field)
    C++
    bool bManageKeyBindings = true
    Off: key bindings are your game's own. The plugin then reads no input mapping context, never binds, resets or saves a key (bindings it saved before stay in its files as they are), and leaves out its Keyboard & Mouse and Controller pages; Rebind Buttons and Key Binding widgets show the action's current key but cannot rebind it. Sensitivity, inversion, dead zones, vibration and the prompts keep working (Docs/Input.md, Key bindings of your own).
  • Input Contexts (Project Settings field)
    C++
    TArray<TSoftObjectPtr<UInputMappingContext>> InputContexts
    Input mapping contexts listed in the controls pages even before the game pushes them.
  • Reserved Keys (Project Settings field)
    C++
    TArray<FKey> ReservedKeys
    Keys the player can never bind (the menu keys are always reserved).
  • Remap Unmappable Actions (Project Settings field)
    C++
    bool bRemapUnmappableActions = true
    List actions that are not marked player-mappable (remapped by the plugin's own key profile, assets untouched).
  • Conflict Groups (Project Settings field)
    C++
    TArray<FNeoInputConflictGroup> ConflictGroups
    Groups of mapping contexts never active together (on foot, vehicle): a key may be used once in each group. A context in no group conflicts with every other.
  • Shared Contexts (Project Settings field)
    C++
    TArray<TSoftObjectPtr<UInputMappingContext>> SharedContexts
    Contexts active with every group (camera, menus): their keys conflict with every group.
  • Follow Common Input Device (Project Settings field)
    C++
    bool bFollowCommonInputDevice = true
    When the project uses CommonUI, prompts follow CommonInput's current input type.

Gameplay

  • Fov Mode (Project Settings field)
    C++
    ENeoSettingsFovMode FovMode = ENeoSettingsFovMode::Relative
  • Reference Fov (Project Settings field)
    C++
    float ReferenceFov = 90.0f
    The FOV your cameras are designed for: the FOV setting's default (outside its range, the range widens to it), and the reference of the relative mode.

Behaviour

  • Storage (Project Settings field)
    C++
    ENeoSettingsStorage Storage = ENeoSettingsStorage::Auto
  • Custom Storage Class (Project Settings field)
    C++
    TSoftClassPtr<UNeoSettingsStorage> CustomStorageClass
  • Apply Saved Settings At Startup (Project Settings field)
    C++
    bool bApplySavedSettingsAtStartup = true
    Apply the saved settings when the game starts.
  • Display Confirm Seconds (Project Settings field)
    C++
    float DisplayConfirmSeconds = 15.0f
    Seconds before an unconfirmed display change reverts.
  • Pause By Default (Project Settings field)
    C++
    bool bPauseByDefault = false
    Pause a standalone game while the menu is open, when opened without explicit options.
  • Suspend Frame Generation In Menu (Project Settings field)
    C++
    bool bSuspendFrameGenerationInMenu = true
    Turn frame generation off while the menu is open (vendor guidelines).
  • Manage Launch Plan (Project Settings field)
    C++
    bool bManageLaunchPlan = true
    Choose the frame generation vendor of each launch: the plugin stores a launch plan in the player's GameUserSettings.ini and, at the next start, turns the other vendors off before the game window exists. Off: the plugin writes and applies no plan, and your project decides which vendor runs. Read when the game starts.
  • Editor Apply (Project Settings field)
    C++
    ENeoSettingsEditorApply EditorApply = ENeoSettingsEditorApply::SafeOnly
  • Debug Open Key (Project Settings field)
    C++
    FKey DebugOpenKey
    Optional key that opens the menu from anywhere (development helper; none by default).
  • Keep Menus Open On Seamless Travel (Project Settings field)
    C++
    bool bKeepMenusOpenOnSeamlessTravel = true
    Keep the players' menus open during seamless travel (they belong to the player and the viewport, not to the map). Off: seamless travel closes them like any map change.

Screen

  • Adapt Menu To Screen (Project Settings field)
    C++
    bool bAdaptMenuToScreen = true
    Size the menu from the screen it is shown on: a comfortable size centered on very large monitors, larger text on a TV, the whole screen on a handheld, never smaller than the system's display scale. Off: the menu fills the viewport through your project's DPI scaling, as in earlier versions.
  • Screen Profile (Project Settings field)
    C++
    ENeoScreenProfile ScreenProfile = ENeoScreenProfile::Auto
    Which screen the menu is laid out for. Automatic detects it (Steam Deck and PC handhelds, Steam Big Picture, consoles) and lets the player change it (Screen Type). Any other value forces it and hides the player's setting.
  • Min Menu Height On Monitors (Project Settings field)
    C++
    int32 MinMenuHeightOnMonitors = 1080
    Monitors: the menu is laid out as if the screen were at least this tall, in display-scaled pixels (Windows display scale, macOS points). A shorter screen, such as a 14-inch 1080p laptop at 150 % (720), gets the same text size and a tighter layout. Lower it to keep more on screen with smaller text.
  • Max Menu Height On Monitors (Project Settings field)
    C++
    int32 MaxMenuHeightOnMonitors = 1440
    Monitors: the menu grows with the screen up to this height in display-scaled pixels, then keeps its size and is centered. 1440 fills a 27-inch 1440p and a 4K screen at 150 %; a 4K screen at 100 % shows the menu over two thirds of its height. 0 = always fill the screen.
  • TV Menu Scale (Project Settings field)
    C++
    float TVMenuScale = 1.45f
    TVs and consoles: menu size against a monitor at 1080p. 1.45 gives 26 px text at 1080p where a monitor shows 18 px (Xbox Accessibility Guideline 101).
  • Handheld Menu Scale (Project Settings field)
    C++
    float HandheldMenuScale = 1.2f
    Handhelds: menu size against filling the screen height, at Interface Size 100 %. 1.2 puts the smallest text at 16 px on a Steam Deck, with the room the details give back when they open on request (Valve: never under 9 px, 12 recommended); 1 shows the most, at 13 px. It gives way as the player raises Interface Size: at 200 % the menu is as large as Interface Size alone makes it.
  • Opaque Backdrop On Handhelds (Project Settings field)
    C++
    bool bOpaqueBackdropOnHandhelds = true
    Handhelds: draw the backdrop's opaque plate instead of its blur, which costs GPU time on a Steam Deck.
  • Details On Demand (Project Settings field)
    C++
    bool bDetailsOnDemand = true
    When the list gets too short to keep the details beside or under it, show them when the player asks (an Info prompt) instead of shortening the list. On a handheld they open on request from the start, and a row keeps what the player needs (a grayed row's reason, a performance cost). Off: the details stay beside or under the list.

Menus

  • Play Map (Project Settings field)
    C++
    TSoftObjectPtr<UWorld> PlayMap
    The map Play opens; empty: play the map behind the main menu.
  • Game Title (Project Settings field)
    C++
    FText GameTitle
    Title of the main menu; empty: the project's Project Displayed Title, else the project's name.
  • Title Image (Project Settings field)
    C++
    TSoftObjectPtr<UTexture2D> TitleImage
    A logo drawn instead of the title text.
  • Pause Menu (Project Settings field)
    C++
    bool bPauseMenu = true
    Open a pause menu with the pause keys (Resume, Settings, Main Menu, Quit). On by default; turn it off when your game has its own pause menu. Your own mapping of the same key wins, and your UI-only input mode blocks it.
  • Pause Keys (Project Settings field)
    C++
    TArray<FKey> PauseKeys = {EKeys::Escape, EKeys::Gamepad_Special_Right}
    Keys that open the pause menu (the plugin's own input action, added to each player at the lowest priority). They are always reserved on the controls pages.
  • Pause Action (Project Settings field)
    C++
    TSoftObjectPtr<UInputAction> PauseAction
    Your own pause input action instead: the plugin listens to it and adds no key mapping of its own. Tick Trigger When Paused on that Input Action: without it, once a player's pause menu pauses a split-screen game, the other players cannot open theirs (warning HSP215 in the log).
  • Pause Game In Standalone (Project Settings field)
    C++
    bool bPauseGameInStandalone = true
    The pause menu pauses a standalone game (a networked game is never paused).
  • Escape Opens Pause Menu In Editor (Project Settings field)
    C++
    bool bEscapeOpensPauseMenuInEditor = true
    In Play In Editor, Escape opens the pause menu (Stop stays on the toolbar). Off: Escape stops Play In Editor, as usual.
  • Test Pause In Editor Sessions (Project Settings field)
    C++
    bool bTestPauseInEditor = true
    Sessions the editor starts (Play In Editor, Standalone) open the plugin's pause menu, marked TEST, with the pause keys while Pause Menu is off. Never in a packaged game (Docs/MenusAndFlow.md, The test pause).
  • Extra Main Menu Items (Project Settings field)
    C++
    TArray<FNeoMenuItem> ExtraMainMenuItems
    Items added to the main menu, sorted with the shipped ones by Order (shipped items use 10, 20, 30...).
  • Extra Pause Menu Items (Project Settings field)
    C++
    TArray<FNeoMenuItem> ExtraPauseMenuItems
    Items added to the pause menu, sorted with the shipped ones by Order.
  • Hidden Menu Items (Project Settings field)
    C++
    TArray<FString> HiddenMenuItems
    Shipped menu items to hide: main.continue, main.quit, pause.main_menu...
  • Pause Menu Widget Class (Project Settings field)
    C++
    TSoftClassPtr<UNeoMenuScreenWidget> PauseMenuWidgetClass
    Your own look for the pause menu, with the plugin's items, flow and input handling.

Dialogs

  • Dialog Widget Class (Project Settings field)
    C++
    TSoftClassPtr<UNeoDialogWidget> DialogWidgetClass
    Your own look for every dialog (the plugin's own confirmations included); empty: the style's.
  • Toast Widget Class (Project Settings field)
    C++
    TSoftClassPtr<UNeoToastWidget> ToastWidgetClass
    Your own look for toasts; empty: the style's.
  • Max Visible Toasts (Project Settings field)
    C++
    int32 MaxVisibleToasts = 3
    Toasts visible at once per player; the others wait their turn.

Display

  • Fps Counter Corner (Project Settings field)
    C++
    ENeoScreenCorner FpsCounterCorner = ENeoScreenCorner::TopRight
    Corner of the FPS counter (setting Show FPS), inside the safe zone.

Graphics

  • First Launch Quality (Project Settings field)
    C++
    ENeoFirstLaunchQuality FirstLaunchQuality = ENeoFirstLaunchQuality::Engine
    The quality preset a first launch starts on (no quality chosen yet), in Standalone and packaged games. Engine Default applies nothing: the engine's own levels stay.
  • First Launch Quality On Handhelds (Project Settings field)
    C++
    bool bFirstLaunchQualityOnHandhelds = false
  • First Launch Quality On Handhelds (Project Settings field)
    C++
    ENeoFirstLaunchQuality FirstLaunchQualityOnHandhelds = ENeoFirstLaunchQuality::Low
    The first-launch preset on Steam Deck and PC handhelds (detected at run time, whatever the build's platform).
  • Show Lighting Method (Project Settings field)
    C++
    bool bShowLightingMethod = true
    Offer Lighting Method (Lumen, Screen Space, Off) where the project renders with Lumen.
  • Show Lumen Hardware Ray Tracing (Project Settings field)
    C++
    bool bShowLumenHardwareRayTracing = true
    Offer Hardware Ray Tracing where Lumen traces with the player's ray tracing hardware.
  • Quality Preset Lines (Project Settings field)
    C++
    TArray<FNeoPresetLine> QualityPresetLines
    What a quality preset's levels set, merged with the shipped levels (a line for a new level adds that level).

Setting Rules

  • Setting Rules (Project Settings field)
    C++
    TArray<FNeoSettingRule> SettingRules
    Dependencies between settings: while a rule's condition holds, its setting is grayed, shows and applies the rule's value, and the player's own value comes back when it ends. The first rule that holds wins. Rules apply to the plugin's settings and to Custom Settings, and replace the force lines the shipped catalog gives that setting; a setting of your own recipes takes force lines in that recipe (which also win over a rule here).

Split-Screen

  • Shared Settings For Other Players (Project Settings field)
    C++
    ENeoSharedSettingsAccess SharedSettingsForOtherPlayers = ENeoSharedSettingsAccess::ReadOnly
    What players other than player 1 may do with the shared settings (display, graphics, audio, language...).

Integration

  • Screen Presenter Class (Project Settings field)
    C++
    TSoftClassPtr<UNeoScreenPresenter> ScreenPresenterClass
    Your presenter, to put the plugin's screens into your own UI stack (CommonUI or any other); empty: the plugin draws them in its own layer.

NeoSettingsTypes.h

Module NeoSettings.

Delegates

  • FNeoSimpleEvent (): An event without parameters (menu flow, player subsystem).

ENeoSettingsStorage

Enum ENeoSettingsStorage; shown as Neo Settings Storage Mode (Blueprint type).

Where the plugin keeps the values the engine does not save by itself.

ValueShown asMeaning
AutoAutoReadable JSON files under Saved/NeoSettings on desktop, the platform save system elsewhere.
FilesFilesAlways JSON files under Saved/NeoSettings.
SaveSlotsSave SlotsAlways the platform save system (SaveDataToSlot).
CustomCustomYour class (Custom Storage Class) loads and saves the JSON text.
NoneNoneNothing is written: the game saves ExportSettingsToJson and restores with ImportSettingsFromJson.

ENeoSettingsFovMode

Enum ENeoSettingsFovMode; shown as Neo Settings Fov Mode (Blueprint type).

How the FOV setting drives the camera.

ValueShown asMeaning
RelativeRelativeScales every camera FOV of the game by the ratio of the tangents of the half-angles: tan(FOV / 2) is multiplied by tan(setting / 2) / tan(reference FOV / 2). A camera at the reference FOV shows the setting; zooms and aiming keep their proportion.
AbsoluteAbsoluteReplaces the camera FOV by the setting.
OffOffThe plugin does not touch the camera; read the value and apply it yourself.

ENeoSettingsEditorApply

Enum ENeoSettingsEditorApply; shown as Neo Settings Editor Apply (Blueprint type).

What the plugin applies while running inside the editor (PIE or the preview tab).

ValueShown asMeaning
NothingNothingNothing: the menu works but no setting changes the editor.
SafeOnlySafe OnlySettings that cannot disturb the editor: camera, input, audio volumes.
EverythingEverythingEverything, like a packaged game.

ENeoSettingsValueType

Enum ENeoSettingsValueType; shown as Neo Settings Value Type (Blueprint type).

ValueShown asMeaning
NoneNone
BoolBool
NumberNumber
StringString

FNeoSettingsValue

Struct FNeoSettingsValue; shown as Neo Settings Value (Blueprint type).

A setting value as seen from Blueprint.

  • Type (Blueprint read and write)
    C++
    ENeoSettingsValueType Type = ENeoSettingsValueType::None
  • Bool (Blueprint read and write)
    C++
    bool Bool = false
  • Number (Blueprint read and write)
    C++
    double Number = 0.0
  • String (Blueprint read and write)
    C++
    FString String
    Option id of a choice, or text value.

FNeoSettingsOpenOptions

Struct FNeoSettingsOpenOptions; shown as Neo Settings Open Options (Blueprint type).

Options when opening the menu.

  • Page (Blueprint read and write)
    C++
    FString Page
    Page to show first (page id, e.g. "graphics"). Empty: the first page, or the last one visited.
  • Pause Game (Blueprint read and write)
    C++
    bool bPauseGame = false
    Pause the game while the menu is open (only in a standalone game, never in multiplayer).
  • Theme (Blueprint read and write)
    C++
    FString Theme
    Theme id to use instead of the project's (e.g. "noir"). Empty: the project's theme.
  • From Main Menu (Blueprint read and write)
    C++
    bool bFromMainMenu = false
    True when opened from the main menu (no game behind): used by menu.mainmenu conditions.
  • Z Order (Blueprint read and write)
    C++
    int32 ZOrder = 10000
    Not used since version 2, kept so that existing Blueprints still compile: the plugin orders its own screens (above your viewport widgets, a dialog above the screen that asked it, the FPS counter and the travel fade above the menus). To put the menu inside your own UI, set Screen Presenter Class (Project Settings > Neo Settings > Integration) or place a Neo Settings Panel.
  • Player (Blueprint read and write)
    C++
    TObjectPtr<APlayerController> Player = nullptr
    The local player whose menu opens (split-screen: in that player's part of the screen, driven by that player's controller). Empty: the player of the world context object, else the first local player.

FNeoSettingsCapability

Struct FNeoSettingsCapability; shown as Neo Settings Capability (Blueprint type).

A capability as seen from Blueprint (e.g. "dlss", "hdr").

  • Present (Blueprint read only)
    C++
    bool bPresent = false
    The technology or feature is part of the project (plugin enabled, platform support).
  • Supported (Blueprint read only)
    C++
    bool bSupported = false
    It can be used on this machine.
  • Reason (Blueprint read only)
    C++
    FText Reason
    Why it cannot be used (for the player).

FNeoSettingsImportResult

Struct FNeoSettingsImportResult; shown as Neo Settings Import Result (Blueprint type).

Result of an import.

  • Success (Blueprint read only)
    C++
    bool bSuccess = false
  • Applied (Blueprint read only)
    C++
    int32 Applied
  • Rejected (Blueprint read only)
    C++
    int32 Rejected
  • Unknown (Blueprint read only)
    C++
    int32 Unknown
  • Messages (Blueprint read only)
    C++
    TArray<FString> Messages

ENeoSettingsCustomKind

Enum ENeoSettingsCustomKind; shown as Neo Settings Custom Kind (Blueprint type).

A setting declared from Project Settings, without writing a recipe.

ValueShown asMeaning
ToggleToggle
SliderSlider
ChoiceChoice

FNeoSettingsCustomOption

Struct FNeoSettingsCustomOption; shown as Neo Settings Custom Option (Blueprint type).

  • Id (set in the editor)
    C++
    FString Id
  • Label (set in the editor)
    C++
    FText Label

FNeoSettingsCustomSetting

Struct FNeoSettingsCustomSetting; shown as Neo Settings Custom Setting (Blueprint type).

  • Id (set in the editor)
    C++
    FString Id
    Unique id, e.g. "gameplay.head_bob" (page.name). The page is created if it does not exist.
  • Section (set in the editor)
    C++
    FString Section = TEXT("main")
    Section id inside the page (created if needed).
  • Kind (set in the editor)
    C++
    ENeoSettingsCustomKind Kind = ENeoSettingsCustomKind::Toggle
  • Label (set in the editor)
    C++
    FText Label
  • Description (set in the editor)
    C++
    FText Description
  • Default On (set in the editor)
    C++
    bool bDefaultOn = true
  • Default (set in the editor)
    C++
    double Default = 1.0
  • Min (set in the editor)
    C++
    double Min = 0.0
  • Max (set in the editor)
    C++
    double Max = 1.0
  • Step (set in the editor)
    C++
    double Step = 0.05
  • Format (set in the editor)
    C++
    FString Format = TEXT("percent")
    int, decimal1, decimal2, percent, percent100, degrees, ms, fps, multiplier, or a pattern like "{0} px".
  • Options (set in the editor)
    C++
    TArray<FNeoSettingsCustomOption> Options
  • Default Option (set in the editor)
    C++
    FString DefaultOption
  • Per Machine (set in the editor)
    C++
    bool bPerMachine = false
    Saved per player (user) or per machine.

FNeoSettingsAudioChannel

Struct FNeoSettingsAudioChannel; shown as Neo Settings Audio Channel (Blueprint type).

A named audio channel and what it drives.

  • Channel (set in the editor)
    C++
    FName Channel
    Channel name used by the recipes: music, sfx, voice, ui, ambient, or your own.
  • Sound Classes (set in the editor)
    C++
    TArray<FSoftObjectPath> SoundClasses
    Sound classes whose volume follows the channel (children included).
  • Control Buses (set in the editor)
    C++
    TArray<FSoftObjectPath> ControlBuses
    Optional Audio Modulation control buses (volume parameter) driven by the channel.

ENeoGlyphFamily

Enum ENeoGlyphFamily; shown as Neo Glyph Family (Blueprint type).

Button layout of the input glyphs. The identifiers name the layouts; players see the labels of the Button Prompts setting.

ValueShown asMeaning
AutoAutoThe device the player used last: keyboard and mouse, or the controller layout of the player's Button Prompts setting (Automatic: the detected controller).
ControllerControllerThe player's controller layout (Button Prompts setting, else the detected controller), whatever was used last.
KeyboardMouseKeyboard & MouseKeyboard and mouse.
XboxA B X YLetters: bottom A, right B, left X, top Y.
PlayStationShapesCross at the bottom, circle on the right, square on the left, triangle at the top.
NintendoB A Y XLetters with A on the right: bottom B, right A, left Y, top X.
GenericNeutralPosition marks only: the pressed button of the four is the filled one.

FNeoInputGlyph

Struct FNeoInputGlyph; shown as Neo Input Glyph (Blueprint type).

How to draw one input in your HUD: a legend brush (white, to tint) on an optional plate, or a text keycap.

  • Key (Blueprint read only)
    C++
    FKey Key
    The key shown; None when the action has no key on that device.
  • Family (Blueprint read only)
    C++
    ENeoGlyphFamily Family = ENeoGlyphFamily::KeyboardMouse
    Layout used (Auto and Controller resolved).
  • Has Brush (Blueprint read only)
    C++
    bool bHasBrush = false
    Brush holds a legend. False: print Text inside a keycap (letters, digits, F-keys, keys without a symbol).
  • Brush (Blueprint read only)
    C++
    FSlateBrush Brush
    The legend: a white SVG on a transparent background, Size x Size. Tint it with your HUD's color.
  • Has Plate (Blueprint read only)
    C++
    bool bHasPlate = false
    Plate holds the button's filled silhouette (controller buttons).
  • Plate (Blueprint read only)
    C++
    FSlateBrush Plate
    Filled silhouette of the button, the size of the legend: draw it behind the legend, in a fill color.
  • Keycap (Blueprint read only)
    C++
    bool bKeycap = false
    A keyboard key: draw a keycap behind Brush or Text.
  • Keycap Width (Blueprint read only)
    C++
    float KeycapWidth = 1.0f
    Keycap width in key heights (1 for a letter, 1.5 for Ctrl, 2 for Enter, 4 for Space), for keycaps drawn to scale.
  • Text (Blueprint read only)
    C++
    FText Text
    The text to print in the keycap when there is no brush; otherwise the input's short name, for tooltips and screen readers ("Enter", "LMB", "A", "L1"; right-hand modifiers share the left symbol, their name tells them apart).
  • Native Color (Blueprint read only)
    C++
    FLinearColor NativeColor = FLinearColor::Transparent
    Usual color of a face button (alpha 0 when the layout has none). Data only: position, shape and letter already tell the buttons apart.

ENeoScreenProfile

Enum ENeoScreenProfile; shown as Neo Screen Profile (Blueprint type).

The kind of screen the settings menu is laid out for (see the plugin's Docs/Screens.md).

ValueShown asMeaning
AutoAutomaticDetect it. A choice only (Project Settings, the player's Screen Type), never a resolved profile.
DesktopMonitorA monitor at a desk: the menu follows the system display scale and is centered on very large monitors.
HandheldHandheldA handheld (Steam Deck, PC handhelds, phones): the whole screen, the most content.
TVTVA TV seen from a couch (consoles, Steam Big Picture): larger text inside the safe zone.

ENeoScreenProfileSource

Enum ENeoScreenProfileSource; shown as Neo Screen Profile Source (Blueprint type).

Where the resolved screen profile comes from.

ValueShown asMeaning
DetectedDetectedDetected from the platform, the hardware and the display.
PlayerPlayerThe player's Screen Type setting.
ProjectProjectProject Settings > Screen Profile.
OverrideOverrideNeoSettings.Screen.Profile (command line -HSScreenProfile= or console).

FNeoScreenInfo

Struct FNeoScreenInfo; shown as Neo Screen Info (Blueprint type).

How the settings menu is sized on the current screen. Computed by the plugin; your own UI may read it too.

  • Profile (Blueprint read only)
    C++
    ENeoScreenProfile Profile = ENeoScreenProfile::Desktop
    Resolved profile (never Auto).
  • Source (Blueprint read only)
    C++
    ENeoScreenProfileSource Source = ENeoScreenProfileSource::Detected
  • Reason (Blueprint read only)
    C++
    FString Reason
    Why, in English, for logs and test captures ("Steam Deck, built-in display", "SteamTenfoot=1").
  • Viewport Pixels (Blueprint read only)
    C++
    FIntPoint ViewportPixels = FIntPoint(1920, 1080)
    The game viewport, in physical pixels.
  • Os Scale (Blueprint read only)
    C++
    float OsScale = 1.0f
    System display scale of the monitor under the game window (1 = 100 %).
  • Os Scale Known (Blueprint read only)
    C++
    bool bOsScaleKnown = false
    The system really reported OsScale (false: unattended runs, X11 at 1.0, consoles).
  • Pixels Per Scaled Pixel (Blueprint read only)
    C++
    float PixelsPerScaledPixel = 1.0f
    Viewport pixels per display-scaled pixel: OsScale, corrected for an exclusive fullscreen at another resolution.
  • Fill Scale (Blueprint read only)
    C++
    float FillScale = 1.0f
    ViewportPixels.Y / 1080: the menu filling the viewport height.
  • Base Scale (Blueprint read only)
    C++
    float BaseScale = 1.0f
    The profile's scale at Interface Size 100 %.
  • Interface Size (Blueprint read only)
    C++
    float InterfaceSize = 1.0f
    The player's Interface Size (1 = 100 %).
  • Layout Size (Blueprint read only)
    C++
    FVector2D LayoutSize = FVector2D(1920.0, 1080.0)
    ViewportPixels / MenuScale: the room of a full-viewport menu, in units.
  • Stage Max (Blueprint read only)
    C++
    FVector2D StageMax = FVector2D(1920.0, 1080.0)
    Largest composition, in units: a larger room centers it and shows the game around it.
  • Safe Margin (Blueprint read only)
    C++
    FMargin SafeMargin
    What a full-viewport menu keeps free on each side (title-safe area, Screen Margins), in units.
  • Adaptive (Blueprint read only)
    C++
    bool bAdaptive = true
    Project Settings > Adapt Menu To Screen.
  • Capped (Blueprint read only)
    C++
    bool bCapped = false
    A desktop screen larger than the menu needs: the stage is centered and smaller than the viewport.
  • Opaque Backdrop (Blueprint read only)
    C++
    bool bOpaqueBackdrop = false
    Draw the backdrop's opaque plate instead of its blur.
  • Details On Demand (Blueprint read only)
    C++
    bool bDetailsOnDemand = true
    Project Settings > Details On Demand.
  • Revision (Blueprint read only)
    C++
    int32 Revision
    Increases at every change.

ENeoScreen

Enum ENeoScreen; shown as Neo Screen (Blueprint type).

The screens the plugin draws for a local player, from the bottom of the player's screen stack to the top.

ValueShown asMeaning
SettingsSettingsThe settings menu.
MainMenuMain MenuThe main menu (Continue, Play, Settings, Quit...).
PauseMenuPause MenuThe pause menu (Resume, Settings, Main Menu, Quit...).
DialogDialogA confirmation or choice dialog, always on top.

ENeoScreenCloseReason

Enum ENeoScreenCloseReason; shown as Neo Screen Close Reason (Blueprint type).

Why a screen closed.

ValueShown asMeaning
PlayerPlayerThe player closed it (Back, Resume, a button).
CodeCodeThe game closed it (Close All Menus, Close Dialogs, a node or C++).
TravelTravelA map change closed it (hard travel, or seamless travel with Keep Menus Open On Seamless Travel off).
ClearedClearedThe viewport's widgets were cleared (Remove All Widgets, viewport destroyed); the player's input was given back.

ENeoScreenCorner

Enum ENeoScreenCorner; shown as Neo Screen Corner (Blueprint type).

A corner of the screen, inside the safe zone.

ValueShown asMeaning
TopLeftTop LeftThe upper left corner.
TopRightTop RightThe upper right corner.
BottomLeftBottom LeftThe lower left corner.
BottomRightBottom RightThe lower right corner.

ENeoMenuAction

Enum ENeoMenuAction; shown as Neo Menu Action (Blueprint type).

What a main menu or pause menu item does.

ValueShown asMeaning
PlayPlayMain menu: start playing (closes the menu, or opens Play Map with a fade to black, or behind the Neo Async Loading Screen when that plugin is enabled).
ResumeResumePause menu: close it and unpause.
SettingsSettingsOpen the settings menu (on Page when set); Back returns to this menu.
OpenLevelOpen LevelOpen Level with a fade to black (behind the Neo Async Loading Screen when that plugin is enabled).
RestartRestartReload the current level.
MainMenuMain MenuReturn to the main menu (networked games: the engine's Return To Main Menu, so your session code runs).
QuitQuitQuit the game (desktop).
EventEventNothing built in: the menu subsystem's On Menu Event fires with Event Name, your code does the rest.

FNeoMenuItem

Struct FNeoMenuItem; shown as Neo Menu Item (Blueprint type).

A menu item added from Project Settings (Extra Main Menu Items, Extra Pause Menu Items), without a recipe.

  • Id (Blueprint read and write)
    C++
    FName Id
    Item id inside its menu, e.g. "credits" (its full id is main.credits or pause.credits). The id of a shipped item changes that item.
  • Label (Blueprint read and write)
    C++
    FText Label
    What the item says, translated like your other texts ("Credits").
  • Action (Blueprint read and write)
    C++
    ENeoMenuAction Action = ENeoMenuAction::Event
    What choosing the item does.
  • Level (Blueprint read and write)
    C++
    TSoftObjectPtr<UWorld> Level
    The level an Open Level item opens.
  • Event Name (Blueprint read and write)
    C++
    FName EventName
    The name On Menu Event receives for an Event item.
  • Page (Blueprint read and write)
    C++
    FString Page
    The settings page a Settings item opens (page id, e.g. "graphics"); empty: the first page, or the page the player visited last in this session.
  • Confirm (Blueprint read and write)
    C++
    bool bConfirm = false
    Ask before doing it (the focus starts on Cancel).
  • Confirm Text (Blueprint read and write)
    C++
    FText ConfirmText
    The question of the confirmation; empty: "Are you sure?".
  • Destructive (Blueprint read and write)
    C++
    bool bDestructive = false
    Drawn in the destructive style and never focused first.
  • Desktop Only (Blueprint read and write)
    C++
    bool bDesktopOnly = false
    Shown on desktop platforms only (a Quit item: consoles have no quit).
  • Order (Blueprint read and write)
    C++
    int32 Order = 100
    Position among the items, smallest first; shipped items use 10, 20, 30...

FNeoMenuItemView

Struct FNeoMenuItemView; shown as Neo Menu Item View (Blueprint type).

A menu item as a menu shows it now, for your own menu widgets (Main Menu Widget Class, Get Menu Items).

  • Id (Blueprint read only)
    C++
    FName Id
    Full item id (main.play, pause.quit, main.credits): give it to Run Menu Item.
  • Label (Blueprint read only)
    C++
    FText Label
    Localized label.
  • Action (Blueprint read only)
    C++
    ENeoMenuAction Action = ENeoMenuAction::Play
    What choosing the item does (an icon of your own per action, for instance).
  • Enabled (Blueprint read only)
    C++
    bool bEnabled = true
    False: draw it grayed with Disabled Reason; Run Menu Item refuses it.
  • Disabled Reason (Blueprint read only)
    C++
    FText DisabledReason
    Why the item cannot be used now, for the player.
  • Destructive (Blueprint read only)
    C++
    bool bDestructive = false
    Draw it in the destructive style and never focus it first.
  • Arrows (Blueprint read only)
    C++
    bool bArrows = false
    The item has arrows (a recipe's arrows line): draw a left and a right arrow on it, and send Left and Right on it to Step Menu Item (-1 and +1), which hands the arrow's event to On Menu Event.

ENeoSettingsLoadingPhase

Enum ENeoSettingsLoadingPhase; shown as Neo Settings Loading Phase (Blueprint type).

Where the Neo Async Loading Screen is (Get Loading Phase), when that plugin is enabled; Hidden without it. These values and their numbers never change.

ValueShown asMeaning
HiddenHiddenNo loading screen.
OpeningOpeningFading in over the game.
CoveringCoveringA map change, or your own wait (Show Loading Screen), in progress.
HoldingHoldingThe new map began play (or your wait ended): streaming, the pawn, holds or the minimum time still awaited.
ClosingClosingFading out (the main menu fades in under it).

ENeoSettingKind

Enum ENeoSettingKind; shown as Neo Setting Kind (Blueprint type).

The control a setting is drawn with.

ValueShown asMeaning
ToggleToggleOn or off.
SliderSliderA number between Min and Max, by Step.
ChoiceChoiceOne of Options (a preset is a choice too).
ButtonButtonAn action button (reset a page, benchmark, export...).
InfoInfoRead-only information.

ENeoSettingScope

Enum ENeoSettingScope; shown as Neo Setting Scope (Blueprint type).

Where a setting's value is saved, and who shares it.

ValueShown asMeaning
MachineMachineOne value for the machine: display, graphics, audio.
UserUserOne value per player profile: controls, gameplay, accessibility, language.

ENeoApplyMode

Enum ENeoApplyMode; shown as Neo Apply Mode (Blueprint type).

When a changed value takes effect.

ValueShown asMeaning
InstantInstantAt once.
ConfirmConfirmAt once, then kept only if the player confirms before the countdown ends (display modes).
RestartRestartAt the next launch of the game.
PendingPendingWhen the player presses Apply (Apply Pending Settings).

FNeoSettingOption

Struct FNeoSettingOption; shown as Neo Setting Option (Blueprint type).

One option of a choice setting.

  • Id (Blueprint read only)
    C++
    FString Id
    Option id: the setting's value when it is chosen (Get Setting String).
  • Label (Blueprint read only)
    C++
    FText Label
    Localized label.
  • Enabled (Blueprint read only)
    C++
    bool bEnabled = true
    False: show it grayed with Disabled Reason; choosing it is refused.
  • Disabled Reason (Blueprint read only)
    C++
    FText DisabledReason
    Why the option cannot be chosen now, for the player ("Needs a compatible graphics card").

FNeoSettingInfo

Struct FNeoSettingInfo; shown as Neo Setting Info (Blueprint type).

Everything a widget needs to draw one setting for one player: what it is, its value and its state. Read it again on On Setting Changed and On Settings State Changed rather than keeping a copy.

  • Id (Blueprint read only)
    C++
    FString Id
    Setting id, e.g. "display.window_mode". Empty when the id is unknown.
  • Kind (Blueprint read only)
    C++
    ENeoSettingKind Kind = ENeoSettingKind::Toggle
    The control to draw it with: toggle, slider, choice, button or read-only information.
  • Label (Blueprint read only)
    C++
    FText Label
    Localized label.
  • Description (Blueprint read only)
    C++
    FText Description
    Localized description, for a detail panel or a tooltip.
  • Page Id (Blueprint read only)
    C++
    FString PageId
    Page the setting belongs to.
  • Section Id (Blueprint read only)
    C++
    FString SectionId
    Section the setting belongs to.
  • Options (Blueprint read only)
    C++
    TArray<FNeoSettingOption> Options
    Choice: the options offered now (unavailable ones left out, disabled ones grayed).
  • Min (Blueprint read only)
    C++
    double Min = 0.0
    Slider: smallest value.
  • Max (Blueprint read only)
    C++
    double Max = 1.0
    Slider: largest value.
  • Step (Blueprint read only)
    C++
    double Step = 0.05
    Slider: step between two values.
  • Format (Blueprint read only)
    C++
    FString Format
    Slider: how the number is written (int, decimal1, decimal2, percent, degrees, ms, fps, multiplier, or a pattern like "{0} px"). Value Text is already formatted with it.
  • Scope (Blueprint read only)
    C++
    ENeoSettingScope Scope = ENeoSettingScope::User
    Where the value is saved: for the machine (display, graphics, audio) or for the player's profile.
  • Apply Mode (Blueprint read only)
    C++
    ENeoApplyMode ApplyMode = ENeoApplyMode::Instant
    When a change takes effect: at once, after a confirmation, at the next launch, or on Apply.
  • Advanced (Blueprint read only)
    C++
    bool bAdvanced = false
    Shown under "Advanced" by the plugin's menu.
  • Visible (Blueprint read only)
    C++
    bool bVisible = true
    False: hide it (its conditions, the platform, Project Settings, or what this player may see in split-screen).
  • Enabled (Blueprint read only)
    C++
    bool bEnabled = true
    False: draw it grayed with Disabled Reason; changes are refused.
  • Disabled Reason (Blueprint read only)
    C++
    FText DisabledReason
    Why the setting cannot be changed now, for the player ("Set by Player 1", "Not available in borderless mode").
  • Cost Gpu (Blueprint read only)
    C++
    int32 CostGpu = -1
    GPU cost of raising it: -1 unknown, 0 none, 1 minor, 2 moderate, 3 major.
  • Cost Vram (Blueprint read only)
    C++
    int32 CostVram = -1
    Video memory cost, as Cost Gpu.
  • Cost Cpu (Blueprint read only)
    C++
    int32 CostCpu = -1
    CPU cost, as Cost Gpu.
  • Value (Blueprint read only)
    C++
    FNeoSettingsValue Value
    The value shown: the pending value when one waits for Apply or for the display confirmation, else the current one.
  • Value Text (Blueprint read only)
    C++
    FText ValueText
    Value formatted for the player's language ("85°", "1920 × 1080", "On").
  • Changed (Blueprint read only)
    C++
    bool bChanged = false
    Differs from its default.
  • Pending (Blueprint read only)
    C++
    bool bPending = false
    Waits for Apply or for the display confirmation.
  • Restart Required (Blueprint read only)
    C++
    bool bRestartRequired = false
    Changed; takes effect at the next launch.
  • Per Player (Blueprint read only)
    C++
    bool bPerPlayer = false
    Each local player has a value of their own (split-screen). False: one value shared by every player.
  • Set By Other Player (Blueprint read only)
    C++
    bool bSetByOtherPlayer = false
    A shared setting another player owns (player 1): read-only for this player, unless Project Settings make shared settings editable by everyone.

ENeoInputDevice

Enum ENeoInputDevice; shown as Neo Input Device (Blueprint type).

The device family of a key binding.

ValueShown asMeaning
KeyboardMouseKeyboard & MouseKeyboard keys and mouse buttons.
GamepadGamepadController buttons and sticks.

FNeoBindingInfo

Struct FNeoBindingInfo; shown as Neo Binding Info (Blueprint type).

One action the player can rebind, as a controls page lists it (draw it with a Key Binding widget or your own).

  • Action (Blueprint read only)
    C++
    TObjectPtr<UInputAction> Action = nullptr
    The action (give it to Begin Key Capture and Get Key For Action, with the page's Device).
  • Label (Blueprint read only)
    C++
    FText Label
    Localized name of the action ("Jump").
  • Group Id (Blueprint read only)
    C++
    FName GroupId
    Conflict group of the action's mapping context (Project Settings > Controls); None: a shared context.
  • Group Label (Blueprint read only)
    C++
    FText GroupLabel
    Title of that group's block ("Vehicle"); empty for the shared contexts.
  • Keys (Blueprint read only)
    C++
    TArray<FKey> Keys
    The player's key in each slot of the page (None: unbound).
  • Locked (Blueprint read only)
    C++
    bool bLocked = false
    Shown but not rebindable (a reserved key, or locked by the recipe).

FNeoSectionInfo

Struct FNeoSectionInfo; shown as Neo Section Info (Blueprint type).

A section of a settings page: a title and its settings, in order (on a controls page: its actions).

  • Id (Blueprint read only)
    C++
    FString Id
    Section id, unique in its page (e.g. "image").
  • Label (Blueprint read only)
    C++
    FText Label
    Localized title; empty for a section without a title.
  • Setting Ids (Blueprint read only)
    C++
    TArray<FString> SettingIds
    The section's visible settings, in display order (read each one with Get Setting Info). Empty on a controls page.
  • Bindings (Blueprint read only)
    C++
    TArray<FNeoBindingInfo> Bindings
    Controls page: the actions of the section, in display order, grouped by conflict group.

FNeoPageInfo

Struct FNeoPageInfo; shown as Neo Page Info (Blueprint type).

A settings page: its title, icon and visible sections.

  • Id (Blueprint read only)
    C++
    FString Id
    Page id (e.g. "graphics"): the Page of Open Settings Menu and of a Neo Settings Panel, the Page Id of a Neo Settings List.
  • Label (Blueprint read only)
    C++
    FText Label
    Localized title.
  • Icon (Blueprint read only)
    C++
    FName Icon
    Icon name in the plugin's icon set (e.g. "display"); None when the page has none.
  • Bindings (Blueprint read only)
    C++
    bool bBindings = false
    A controls page: its sections list key bindings (Bindings) instead of settings.
  • Device (Blueprint read only)
    C++
    ENeoInputDevice Device = ENeoInputDevice::KeyboardMouse
    Controls page: the device its bindings are for.
  • Key Slots (Blueprint read only)
    C++
    int32 KeySlots = 1
    Controls page: how many keys each action may have (columns of keys).
  • Sections (Blueprint read only)
    C++
    TArray<FNeoSectionInfo> Sections
    Visible sections, in display order.

FNeoDisplayConfirmation

Struct FNeoDisplayConfirmation; shown as Neo Display Confirmation (Blueprint type).

The keep-or-revert question of a display change the player made (Set Setting Value As Player): the new mode is on screen, and it is taken back unless Keep Display Changes is called before the time runs out.

  • Waiting (Blueprint read only)
    C++
    bool bWaiting = false
    True while a display change waits to be kept.
  • Seconds Left (Blueprint read only)
    C++
    float SecondsLeft = 0.0f
    Seconds left before the change is taken back.
  • Seconds Total (Blueprint read only)
    C++
    float SecondsTotal = 0.0f
    The length of the countdown (Project Settings > Display Confirm Seconds).
  • Setting Ids (Blueprint read only)
    C++
    TArray<FString> SettingIds
    The settings that wait (display.window_mode, display.resolution...).

FNeoSettingsText

Struct FNeoSettingsText; shown as Neo Settings Text (Blueprint type).

A text the settings show to players, with the namespace and key Unreal localizes it under (Get Settings Texts).

  • Namespace (Blueprint read only)
    C++
    FString Namespace
    NeoSettings for the shipped catalog, else the namespace of the recipe that declares it.
  • Key (Blueprint read only)
    C++
    FString Key
    The key in that namespace (display.window_mode.label, ui.apply...).
  • English (Blueprint read only)
    C++
    FString English
    The English text. A translation is used only while its source is this exact text.

ENeoDialogButtonStyle

Enum ENeoDialogButtonStyle; shown as Neo Dialog Button Style (Blueprint type).

How a dialog button is drawn.

ValueShown asMeaning
NormalNormalA plain answer.
PrimaryPrimaryThe suggested answer.
DestructiveDestructiveAn answer that loses something (quit, discard, delete): distinct style, never focused first.

FNeoDialogButton

Struct FNeoDialogButton; shown as Neo Dialog Button (Blueprint type).

A dialog button.

  • Id (Blueprint read and write)
    C++
    FName Id
    What the dialog answers when this button is pressed.
  • Label (Blueprint read and write)
    C++
    FText Label
    What the button says: a short verb is clearest ("Quit", "Keep"). The button grows to fit it.
  • Style (Blueprint read and write)
    C++
    ENeoDialogButtonStyle Style = ENeoDialogButtonStyle::Normal
    Plain, the suggested answer, or an answer that loses something.

FNeoDialogSpec

Struct FNeoDialogSpec; shown as Neo Dialog Spec (Blueprint type).

A dialog of one to three buttons for one player, themed like the menu.

  • Title (Blueprint read and write)
    C++
    FText Title
    The question, in a few words ("Quit the game?").
  • Message (Blueprint read and write)
    C++
    FText Message
    What happens on each answer, when the title is not enough ("Unsaved progress will be lost.").
  • Buttons (Blueprint read and write)
    C++
    TArray<FNeoDialogButton> Buttons
    One to three buttons, left to right (a row that does not fit is stacked).
  • Default Button (Blueprint read and write)
    C++
    FName DefaultButton
    The button focused first; None: the first button that is not destructive.
  • Cancel Button (Blueprint read and write)
    C++
    FName CancelButton
    The answer to Back (Escape, B) and to a map change; None: the last button.
  • Timeout Seconds (Blueprint read and write)
    C++
    float TimeoutSeconds = 0.0f
    Seconds before the dialog answers Timeout Button by itself, with a countdown shown; 0: no countdown.
  • Timeout Button (Blueprint read and write)
    C++
    FName TimeoutButton
    The answer when the countdown ends; None: Cancel Button.

ENeoToastKind

Enum ENeoToastKind; shown as Neo Toast Kind (Blueprint type).

The kind of a toast: its icon and color (never the color alone).

ValueShown asMeaning
InfoInfoNews without a judgment ("Checkpoint reached").
SuccessSuccessSomething worked ("Settings imported").
WarningWarningSomething needs the player's attention ("Controller disconnected").
ErrorErrorSomething failed ("Connection lost").

FNeoToast

Struct FNeoToast; shown as Neo Toast (Blueprint type).

A short message that never takes the focus, shown in a corner for a few seconds.

  • Message (Blueprint read and write)
    C++
    FText Message
    What the toast says, in one short line.
  • Kind (Blueprint read and write)
    C++
    ENeoToastKind Kind = ENeoToastKind::Info
    Its icon and color: information, success, warning or error.
  • Duration Seconds (Blueprint read and write)
    C++
    float DurationSeconds = 0.0f
    Seconds on screen; 0: from the length of the text (3 to 10 seconds).

FNeoInputConflictGroup

Struct FNeoInputConflictGroup; shown as Neo Input Conflict Group (Blueprint type).

Mapping contexts that are never active together (on foot, in a vehicle...): a key may be used once in each group without a conflict. Inside a group, or against a shared context, the player is asked to swap or replace.

  • Id (Blueprint read only)
    C++
    FName Id
    Group id, e.g. "vehicle".
  • Label (Blueprint read only)
    C++
    FText Label
    Title of the group's block on the controls pages ("Vehicle").
  • Contexts (Blueprint read only)
    C++
    TArray<TSoftObjectPtr<UInputMappingContext>> Contexts
    The group's mapping contexts.

ENeoSharedSettingsAccess

Enum ENeoSharedSettingsAccess; shown as Neo Shared Settings Access (Blueprint type).

What local players other than player 1 may do with the shared settings (display, graphics, audio, language...).

ValueShown asMeaning
ReadOnlyRead OnlyShown grayed, with "Set by Player 1", beside the player's own settings (a page holding only shared settings is not shown).
HiddenHiddenNot shown (pages holding only shared settings disappear).
EditableEditableShown and editable by every player (the last change wins).

ENeoCornerShape

Enum ENeoCornerShape; shown as Neo Corner Shape (Blueprint type).

Shape of rows, buttons and panels (Setup > Style editor > Corners).

ValueShown asMeaning
StyleOwnStyle's Own
SquareSquare
RoundedRounded
CutCut

ENeoSelectionLook

Enum ENeoSelectionLook; shown as Neo Selection Look (Blueprint type).

How the focused row and menu item stand out (Setup > Style editor > Selection).

ValueShown asMeaning
StyleOwnStyle's Own
OutlineOutline
FillFill
BarBar
BracketsBrackets
UnderlineUnderline

ENeoMotionPace

Enum ENeoMotionPace; shown as Neo Motion Pace (Blueprint type).

Speed of every transition (Setup > Style editor > Motion).

ValueShown asMeaning
StyleOwnStyle's Own
SnappySnappy
SmoothSmooth

ENeoMenuPosition

Enum ENeoMenuPosition; shown as Neo Menu Position (Blueprint type).

Where the main and pause menus sit (Setup > Style editor > Menu position).

ValueShown asMeaning
StyleOwnStyle's Own
TopLeftTop Left
TopTop
TopRightTop Right
LeftLeft
CenterCenter
RightRight
BottomLeftBottom Left
BottomBottom
BottomRightBottom Right

FNeoStyleEdits

Struct FNeoStyleEdits; shown as Neo Style Edits (Blueprint type).

The Setup tab's style editor, applied over every style as a last layer (Docs/Styles.md, The style editor). Save as style turns them into a recipe of your own.

Neo Settings

  • Name (Blueprint read only)
    C++
    FString Name
    Name of the style Save as style writes (its label; the id and the file name come from it). Empty: the project's name in words.
  • Title Font (Blueprint read only)
    C++
    FString TitleFont
    Font family of titles: a shipped family or one of Config/NeoSettings/fonts. Empty: the style's.
  • Text Font (Blueprint read only)
    C++
    FString TextFont
    Font family of labels and text. Empty: the style's.
  • Corners (Blueprint read only)
    C++
    ENeoCornerShape Corners = ENeoCornerShape::StyleOwn
  • Corner Size (Blueprint read only)
    C++
    float CornerSize = 8.0f
    Corner size of the controls in units; panels get 1.6 times it.
  • Outline (Blueprint read only)
    C++
    int32 Outline = -1
    Edge of rows, buttons and panels in units; -1: the style's.
  • Selection (Blueprint read only)
    C++
    ENeoSelectionLook Selection = ENeoSelectionLook::StyleOwn
  • Blur (Blueprint read only)
    C++
    float Blur = -1.0f
    Blur of the game behind the menus in units; -1: the style's.
  • Shade (Blueprint read only)
    C++
    float Shade = 1.0f
    Multiplies the opacity of the shade over the game; 1: the style's.
  • Motion (Blueprint read only)
    C++
    ENeoMotionPace Motion = ENeoMotionPace::StyleOwn
  • Sounds (Blueprint read only)
    C++
    FString Sounds
    The menu's sound set: empty (the style's), "none", or a style id.

Other

  • Is Empty (C++ only)
    C++
    bool IsEmpty() const
    Nothing changes the style (Name aside).

Log category

LogNeoSettings: the plugin's log lines, its HSP diagnostics included (Troubleshooting lists them).

NeoSettingsDriver.h

Module NeoSettings.

Your own drivers, in C++: a driver is how a setting reaches the game. Register one under a name and recipes bind settings to it exactly like a built-in driver:

Recipe
page gameplay {
    choice difficulty "Difficulty" {
        bind driver mygame.difficulty
        options { easy "Easy"; normal "Normal"; hard "Hard" }
    }
}

The plugin then reads the game's value as the setting's default, applies the player's choice at startup and on every change, saves it, exports it, and grays or hides the setting as the driver says. From Blueprint, the recipe's reflect binding (a getter and a setter of one of your subsystems) does the same without C++. The recipe check (hset lint, the Message Log) knows only the plugin's drivers: it reports your driver's name as warning HS412, and the setting works once your driver is registered (Docs/Drivers.md).

FNeoSettingsDriverContext

Struct FNeoSettingsDriverContext.

What a driver is asked about: which setting, which local player, and the binding's parameters.

  • Setting Id (C++ only)
    C++
    FString SettingId
    The setting being read or applied (e.g. "gameplay.difficulty").
  • Local Player (C++ only)
    C++
    ULocalPlayer* LocalPlayer = nullptr
    The local player, for a per-player driver (IsPerPlayer true); null for the others, and in the editor's preview.
  • Params (C++ only)
    C++
    TMap<FString, FString> Params
    The binding's parameters: bind driver mygame.damage scale=2 gives "scale" = "2".
  • Param (C++ only)
    C++
    FString Param(const FString& Name, const FString& Default = FString()) const
    A parameter's text, Default when the binding does not give it.

INeoSettingsDriver

Interface INeoSettingsDriver.

A driver: reads and applies the value of the settings bound to it. Game thread only. Values use the setting's type: Bool for a toggle, Number for a slider, String (the option id) for a choice. The editor asks your driver too: the preview of Project Settings (and the Setup tab) draws the menu with the same drivers, with no game running. There IsAvailable, GetDisabledReason, Read and GetOptions may be called with no game world and a null Context.LocalPlayer, before your game's subsystems exist: answer what you can without them, and return a value of Type None from Read when you cannot. Apply is never called there.

  • Get Name (C++ only)
    C++
    virtual FName GetName() const
    The name recipes bind to (bind driver <name>): your game's prefix and a dot, e.g. "mygame.difficulty".
  • Is Available (C++ only)
    C++
    virtual bool IsAvailable(const FNeoSettingsDriverContext& Context) const
    False hides the settings bound to the driver (feature absent on this platform, in this project).
  • Get Disabled Reason (C++ only)
    C++
    virtual FText GetDisabledReason(const FNeoSettingsDriverContext& Context) const
    Not empty: the setting is grayed with this reason, for the player ("Only in single player").
  • Read (C++ only)
    C++
    virtual FNeoSettingsValue Read(const FNeoSettingsDriverContext& Context) const
    The game's current value: the setting's default when the recipe gives none, and read again to notice changes made outside the menu. Type None when unknown.
  • Apply (C++ only)
    C++
    virtual bool Apply(const FNeoSettingsDriverContext& Context, const FNeoSettingsValue& Value)
    Applies a value. Returns false when the game refused it (the setting then shows Read again).
  • Get Options (C++ only)
    C++
    virtual void GetOptions(const FNeoSettingsDriverContext& Context, TArray<FNeoSettingOption>& OutOptions) const
    The options of a choice bound with options from <driver name> (difficulty levels known at run time...).
  • Is Per Player (C++ only)
    C++
    virtual bool IsPerPlayer() const
    True: applied once per local player (Context.LocalPlayer set), again when the player's controller changes, and each player keeps their own value in split-screen.
  • Is Editor Safe (C++ only)
    C++
    virtual bool IsEditorSafe() const
    True: safe to apply in Play In Editor when Project Settings > Editor Apply is Safe Only.
  • End Batch (C++ only)
    C++
    virtual void EndBatch()
    Called once after a batch of Apply calls (startup, preset, import): apply costly changes once here.

Functions

  • void NeoSettingsRegisterDriver(const TSharedRef<INeoSettingsDriver>& Driver)
    Registers a driver under its name, for every recipe and every game instance of the process; replaces a driver of the same name (a built-in one included, with a warning in the log). Call it from your module's StartupModule or later: settings bound to a name nobody registered yet stay store-only (saved, not applied) and are applied when the driver arrives. Game thread only.
  • void NeoSettingsUnregisterDriver(FName Name)
    Removes a driver registered by NeoSettingsRegisterDriver (call it from your module's ShutdownModule).

NeoSettingsStorage.h

Module NeoSettings.

UNeoSettingsStorage

Class UNeoSettingsStorage, based on UObject; shown as Neo Settings Storage (abstract, subclass it in Blueprint, Blueprint type).

Plug the settings into your own save system: subclass in Blueprint or C++, set it as Custom Storage Class in Project Settings. The plugin hands you JSON text ("neo-settings/1" documents) and asks for it back. Scope is "machine" (display, graphics, audio) or "user" (controls, gameplay, accessibility, language).

  • Load Settings (Blueprint event to override)
    C++
    FString LoadSettings(const FString& Scope, int32 UserIndex)
    Return the saved JSON text for the scope and local player, or an empty string if nothing was saved.
  • Save Settings (Blueprint event to override)
    C++
    void SaveSettings(const FString& Scope, int32 UserIndex, const FString& Json)
    Store the JSON text.

NeoSettingsSubsystem.h

Module NeoSettings.

Delegates

  • FNeoSettingChanged (const FString& SettingId, const FNeoSettingsValue& Value, int32 LocalPlayerIndex)
  • FNeoSettingsMenuEvent ()
  • FNeoSettingsCustomEvent (const FString& EventName, const FString& SettingId)

UNeoSettingsSubsystem

Class UNeoSettingsSubsystem, based on UEngineSubsystem; shown as Neo Settings Subsystem.

Owns the settings of the game: loads the recipes, applies the saved choices at startup, saves, and opens the menu. One per engine process (shared by every Play In Editor instance): what belongs to one local player (its values, controls, camera, menus, dialogs) lives in UNeoSettingsPlayerSubsystem, the game flow (main menu, pause, the fade to black around the menus' level changes) in UNeoMenuSubsystem.

Neo Settings

  • On Setting Changed (Blueprint event to bind)
    C++
    FNeoSettingChanged OnSettingChanged
    A setting changed (player, Blueprint, import, reset). LocalPlayerIndex: the local player whose own value changed (split-screen), -1 for a value shared by every player. To follow one player only, bind the player subsystem's On Setting Changed instead.
  • On Menu Opened (Blueprint event to bind)
    C++
    FNeoSettingsMenuEvent OnMenuOpened
    A settings screen opened, for any local player: Open Settings Menu, or Settings in the plugin's main and pause menus. A Neo Settings Panel inside your own UI does not send it. To know which player, or to follow the other screens (main menu, pause menu, dialogs), bind the player subsystem's On Screen Opened instead.
  • On Menu Closed (Blueprint event to bind)
    C++
    FNeoSettingsMenuEvent OnMenuClosed
    A settings screen closed, for any local player (as its close animation starts, when the input goes back). A Neo Settings Panel inside your own UI does not send it. To know which player and why, bind the player subsystem's On Screen Closed instead.
  • On Custom Event (Blueprint event to bind)
    C++
    FNeoSettingsCustomEvent OnCustomEvent
    A button with action event "<name>" was pressed.

Other

  • Get Runtime (C++ only)
    C++
    FHSRuntime* GetRuntime() const
    The runtime (C++ only). Valid after Initialize.
  • Ensure Started (C++ only)
    C++
    void EnsureStarted()
    Starts the runtime (saved values loaded and applied) on first use once the game has a world: a packaged game runs GameInstance::Init before the engine's PostEngineInit. Nothing once started, nor in a sandbox.
  • Open Menu (C++ only)
    C++
    bool OpenMenu(UObject* WorldContext, const FNeoSettingsOpenOptions& Options)
    Opens the settings screen of the world context's player, else of the first local player of the game viewport. False without a local player (asked for before the game has one), or when that player's is already open.
  • Close Menu (C++ only)
    C++
    void CloseMenu()
    Closes every local player's settings screen.
  • Is Menu Open (C++ only)
    C++
    bool IsMenuOpen() const
    True while a local player's settings screen is open; false from the start of its close animation (the input is back with the game).

NeoSettingsRecipe.h

Module NeoSettings.

UNeoSettingsRecipe

Class UNeoSettingsRecipe, based on UObject; shown as Neo Settings Recipe (Blueprint type).

A .hset recipe of the project, imported as an asset so it is cooked with the game. The text file stays the source: the asset is re-imported when the file changes and is never edited by hand.

  • Text (set in the editor)
    C++
    FString Text
    The recipe text (copied from the source file at import).
  • Source File (set in the editor)
    C++
    FString SourceFile
    Source file the text was imported from (relative to the project when possible).
  • Source Hash (set in the editor)
    C++
    FString SourceHash
    Hash of the source text at import.
  • Asset Import Data (set in the editor)
    C++
    TObjectPtr<class UAssetImportData> AssetImportData

NeoSettingsPreview.h

Module NeoSettings.

Entry points of the runtime module for editor tools (the NeoSettingsEditor module): the live previews of the plugin's screens (settings menu, main and pause menus, dialog, toasts, FPS counter), the hot reload of the recipes and their diagnostics, and the Setup tab's Try it and test pause (Docs/QuickStart.md, Try it and the test pause), and the Setup tab's live restyle, shared sandboxes and readers (Docs/Styles.md, The style editor). The runtime classes they wrap are private to this module.

ENeoSettingsDiagnosticSeverity

Enum ENeoSettingsDiagnosticSeverity.

Severity of a recipe diagnostic.

ValueShown asMeaning
InfoInfo
WarningWarning
ErrorError

FNeoSettingsDiagnostic

Struct FNeoSettingsDiagnostic.

One recipe diagnostic: where (file:line:col), a stable code, the cause, and what to write instead.

  • File (C++ only)
    C++
    FString File
    File name as the recipe loader knows it (absolute, relative to its layer root, or a recipe asset's source).
  • Line (C++ only)
    C++
    int32 Line
    1-based, 0 = unknown.
  • Column (C++ only)
    C++
    int32 Column
    1-based, 0 = unknown.
  • Code (C++ only)
    C++
    FString Code
    Stable short code, e.g. "HS101".
  • Hint (C++ only)
    C++
    FString Hint
    What to write instead (may be empty).

ENeoSettingsPreview

Enum ENeoSettingsPreview.

What an editor preview shows: a screen of the plugin, or one of its window layers.

ValueShown asMeaning
SettingsSettingsThe settings menu, opened from the main menu.
MainMenuMain MenuThe main menu over the game (the menu main recipe as player 1 sees it).
PauseMenuPause MenuThe pause menu over the game (menu pause, a standalone game: titled "Paused").
DialogDialogThe main menu's Quit question (destructive, the focus on Cancel), over the main menu.
ToastsToastsA stack of toasts of each kind in the style's corner, as many as Max Visible Toasts shows (the others queued).
LoadingLoadingKept for its position: the plugin draws no loading screen (Neo Async Loading Screen does), so this preview is the game stand-in alone, with an empty title and no items. The editor shows Neo Async Loading Screen's preview (or a notice) instead.
FpsCounterFps CounterThe FPS counter in its corner, reading the editor's own frame rate (60 FPS · 16.7 ms before the first frame).

FNeoSettingsPreviewInfo

Struct FNeoSettingsPreviewInfo.

What a preview made by the functions above shows, for tests and tools.

  • Is Preview (C++ only)
    C++
    bool bIsPreview = false
    False for any other widget (the fields below are then empty).
  • Theme Id (C++ only)
    C++
    FString ThemeId
    The style asked for (empty: the project's).
  • Title (C++ only)
    C++
    FText Title
    The menu's title, the dialog's question; empty otherwise.
  • Items (C++ only)
    C++
    TArray<FString> Items
    What it lists, in order: the menu's item ids (main.play...), the dialog's button ids, the shown toasts' kinds (info, success, warning, error), the FPS counter's mode (fps, fps_ms); empty for the settings menu and the Loading stand-in.
  • Texts (C++ only)
    C++
    TArray<FText> Texts
    The texts of Items, in the same order (labels, messages, the FPS reading).
  • Focused (C++ only)
    C++
    FString Focused
    The focused menu item or dialog button, the settings menu's focused row (a setting id, a binding row key); empty otherwise.
  • Queued (C++ only)
    C++
    int32 Queued
    Toasts waiting for a free place (Project Settings > Max Visible Toasts).
  • Focus Rect (C++ only)
    C++
    FBox2f FocusRect = FBox2f(ForceInit)
    The menu's title (or logo) and its first two items, as a fraction of the preview's frame (0..1); not valid for another screen or before the first layout. The Setup tab's thumbnails crop to it.
  • Test Mark (C++ only)
    C++
    bool bTestMark = false
    The pause menu wears the TEST mark (the test pause).

FNeoSettingsModelSetting

Struct FNeoSettingsModelSetting.

One setting of the recipes as the editor's tools see it.

  • Label (C++ only)
    C++
    FText Label
    In the editor's language; the id when the recipe gives no label.
  • Optional (C++ only)
    C++
    bool bOptional = false
    An optional setting of the catalog (optin): shown only once listed in Enabled Optional Settings.
  • Optional Enabled (C++ only)
    C++
    bool bOptionalEnabled = false
    Listed in Enabled Optional Settings (or by an enable line).
  • Hidden (C++ only)
    C++
    bool bHidden = false
    Hidden by a hide line or Hidden Settings.
  • Description (C++ only)
    C++
    FText Description
    The recipe's description for players (desc), in the editor's language; empty when none.
  • Custom (C++ only)
    C++
    bool bCustom = false
    Declared in Project Settings > Custom Settings.
  • Stored Only (C++ only)
    C++
    bool bStoredOnly = false
    Its value is only kept (no driver, console variable or reflected property behind it): the menu shows and saves it, and the game reads it and applies it.
  • Catalog (C++ only)
    C++
    bool bCatalog = false
    Declared by the plugin's own catalog (Resources/NeoSettings/catalog).
  • Option Ids (C++ only)
    C++
    TArray<FString> OptionIds
    A choice's option ids, in the recipe's order; empty when its options are made at run time (resolutions...).
  • Has Range (C++ only)
    C++
    bool bHasRange = false
    The recipe gives the slider a range (Min, Max).
  • Min (C++ only)
    C++
    double Min = 0.0
    The slider's lowest value.
  • Max (C++ only)
    C++
    double Max = 1.0
    The slider's highest value.

FNeoSettingsModelPage

Struct FNeoSettingsModelPage.

One page of the recipes and its sections.

  • Hidden (C++ only)
    C++
    bool bHidden = false
    Hidden by Hidden Pages or a hide line.
  • Bindings (C++ only)
    C++
    bool bBindings = false
    A controls page (key bindings).

FNeoSettingsModelSummary

Struct FNeoSettingsModelSummary.

What the recipes declare, read from the running settings (or compiled in a sandbox when they do not run).

  • Settings (C++ only)
    C++
    TArray<FNeoSettingsModelSetting> Settings
    In the recipes' order.
  • Pages (C++ only)
    C++
    TArray<FNeoSettingsModelPage> Pages
    In the menu's order.
  • Input Contexts (C++ only)
    C++
    TArray<FString> InputContexts
    Mapping contexts the recipes and Project Settings list for the controls pages (input { context, group, shared }).

FNeoSettingsHiddenRow

Struct FNeoSettingsHiddenRow.

A setting of the recipes that the settings menu does not show on this machine, and why.

  • Reason (C++ only)
    C++
    FText Reason
    Why, in one sentence ("Optional: list it in Enabled Optional Settings to show it.").
  • Condition (C++ only)
    C++
    FString Condition
    The recipe condition that hides it, as written (empty when no condition does).

FNeoStyleDraft

Struct FNeoStyleDraft.

What the Setup tab is dragging and has not written yet.

ENeoPreviewScreenAs

Enum ENeoPreviewScreenAs.

The screen a preview simulates (Setup > Advanced > Screens, Preview as). Detected: the 1920 x 1080 reference.

ValueShown asMeaning
DetectedDetected
MonitorMonitor
Laptop150Laptop 150
UHD4KUHD 4 K
TVTV
SteamDeckSteam Deck

FNeoSettingsCompileStats

Struct FNeoSettingsCompileStats.

Recipe compiles of this process since the editor started (tests and the Setup tab's checks).

FNeoSettingsMenuItemInfo

Struct FNeoSettingsMenuItemInfo.

One item of the main or pause menu as the Setup tab lists it: shipped and added, in the menu's order.

  • Extra Index (C++ only)
    C++
    int32 ExtraIndex = INDEX_NONE
    Index in Extra Main/Pause Menu Items; INDEX_NONE for a shipped item not changed there.

FNeoTechnologyInfo

Struct FNeoTechnologyInfo.

An image technology the menu can offer: dlss, dlssg, reflex, fsr, fsrfg, raytracing, hdr.

FNeoStyleColor

Struct FNeoStyleColor.

A color of a style for the style editor.

FNeoStyleDescription

Struct FNeoStyleDescription.

What the style editor shows of a declared style.

  • Colors (C++ only)
    C++
    TArray<FNeoStyleColor> Colors
    The 14 shared roles first (bg, surface, raised, line, ink, text, muted, faint, accent, accent_hi, on_accent, success, warning, danger), then overlay (shown under "More colours"), then the style's own colors.

FNeoFontFamily

Struct FNeoFontFamily.

A font family the style editor offers.

FNeoStyleRecipeRequest

Struct FNeoStyleRecipeRequest.

Save as style's text (Setup > Style editor). From the section as saved (never the draft).

  • Existing File (C++ only)
    C++
    FString ExistingFile
    Empty, or a project style's file with the Setup block: its block is merged with the new lines (hs::MergeSetupLines, the lines made against that style itself) and its label renamed, in place. Ignored when bNewStyle.
  • New Style (C++ only)
    C++
    bool bNewStyle = false
    New style (the NEW STYLE tile): always a new file extending ParentId, never a rewrite of ExistingFile.
  • Product Name (C++ only)
    C++
    FString ProductName
    The plugin's name as the editor shows it: a new file names the Message Log page that gives its mistakes ("the Message Log (Neo Settings)"). Empty: "the Message Log".

FNeoStyleRecipe

Struct FNeoStyleRecipe.

Functions

  • TSharedRef<SWidget> NeoSettingsCreatePreviewWidget(const FString& ThemeId, const FString& InitialPage = FString(), ENeoScreen Screen = ENeoScreen::Settings)
    A plugin screen in a sandbox (nothing is applied to the engine, nothing is saved), drawn at the 1920x1080 reference and scaled to fit the space it is given, over a neutral stand-in for a game frame. Each call reads the recipes again. ThemeId empty: the project's theme. InitialPage empty: the first page (settings screen only). Screen: the settings menu, the main menu, the pause menu or a sample dialog. The toasts and the FPS counter are previewed with NeoSettingsCreateScreenPreview.
  • TSharedRef<SWidget> NeoSettingsCreateScreenPreview(ENeoSettingsPreview Preview, const FString& ThemeId, const FString& InitialPage = FString())
    Any preview of ENeoSettingsPreview, like NeoSettingsCreatePreviewWidget: a sandbox of its own, the 1920x1080 reference scaled to fit, the screen's own opening animation. Every screen but the settings menu is laid out at the reference's scale and shrunk by a render transform (their scale root asks for the screen's scale in physical pixels). The previews take the mouse, the keyboard and a gamepad like the game's screens; a choice runs nothing (the dialog asks again a moment after it is answered). InitialPage: the settings menu only.
  • FNeoSettingsPreviewInfo NeoSettingsDescribePreview(const TSharedRef<SWidget>& Preview)
    What Preview shows now (bIsPreview false for a widget that is not one).
  • FString NeoSettingsGetPreviewPage(const TSharedRef<SWidget>& Preview)
    The page a widget made by NeoSettingsCreatePreviewWidget shows: its InitialPage, or the page turned to in it since. Empty for the first page, for a preview of another screen, or for any other widget. Give it back as InitialPage to keep the page when the preview is made again (recipe reload, style change).
  • bool NeoSettingsReloadRecipes()
    Re-reads every recipe of the running settings (values are kept). False when the settings subsystem is not running.
  • TArray<FNeoSettingsDiagnostic> NeoSettingsGetRecipeDiagnostics()
    Diagnostics of the last recipe load of the running settings; without a running subsystem, the recipes are compiled in a sandbox to get them.
  • FDelegateHandle NeoSettingsAddOnRecipesReloaded(FSimpleDelegate Callback)
    Calls Callback after each recipe (re)load of the running settings, and when they restyle in place: the recipes were compiled again, or the styles changed in place (Theme, Palette Overrides, Font Scale, Style Edits). Invalid handle when the subsystem is not running.
  • void NeoSettingsRemoveOnRecipesReloaded(FDelegateHandle Handle)
    Removes a callback added by NeoSettingsAddOnRecipesReloaded (safe after the subsystem is gone).
  • FNeoSettingsModelSummary NeoSettingsDescribeModel()
    The recipes' settings, pages and listed contexts.
  • TArray<FNeoSettingsHiddenRow> NeoSettingsGetHiddenRows()
    Every setting the settings menu leaves out here (Setup > Checklist > Why is this row missing?): hidden by the project, optional and not enabled, on a hidden page or section, a condition that is false on this machine (with the capability's own reason), or a driver that is not available. Read from the running settings, as player 1 sees them.
  • void NeoSettingsSetTryMenus(bool bTry)
    The Setup tab's Try it: while set, the main menu and the pause menu count as on in this process (UNeoSettingsProjectSettings::IsMainMenuOn...). Nothing is written. Does nothing without WITH_EDITOR.
  • bool NeoSettingsIsTryingMenus()
    Try it runs in this process: the editor's flag, or the argument below on the command line of a game the editor started (Standalone). Always false in a packaged game.
  • const TCHAR* NeoSettingsTryMenusArgument()
    "-HSTryMenus": on the command line of a game started with the editor's binaries, the two menus for that process, as Try it gives them in Play In Editor (never in a packaged game). The Setup tab's Try it never starts one: it plays in the editor's process.
  • bool NeoSettingsIsTestPauseActive()
    The test pause would run in a session the editor starts: Test Pause In Editor Sessions on, Pause Menu off, no Try it. Always false in a packaged game.
  • void NeoSettingsRequestTestPauseChip()
    The next player whose test pause starts in this process gets one toast naming its key: "Esc · Settings (test pause)" (the first of Pause Keys for the player's device).
  • bool NeoSettingsConsumeTestPauseChipShown()
    The toast asked for above was shown since the last call (a player had a viewport for it); drops a request no player took. The editor remembers the toast only then.
  • TSharedRef<SWidget> NeoSettingsCreateTestPausePreview(const FString& ThemeId)
    The pause menu as the test pause shows it (TEST mark), in a sandbox like the other previews.
  • TOptional<FLinearColor> NeoSettingsGetStyleOwnColor(const FString& ThemeId, FName Token)
    A color of a style's own palette, without Project Settings' Palette Overrides and Style Edits (the Setup tab's "style's own" accent). Unset for an unknown style or token.
  • bool NeoSettingsRefreshPreview(const TSharedRef<SWidget>& Preview)
    Brings a preview made by the functions of this file up to date in place: the recipes as they are now (from the compile cache) and Project Settings' style and display fields (FPS corner, toasts at once, screen). The same widget restyles: its page, focused item, scroll and dialog stay, no opening is played again. False for any other widget.
  • bool NeoSettingsShowPreviewPage(const TSharedRef<SWidget>& Preview, const FString& PageId)
    Turns a settings menu preview to a page in place (false for another preview or an unknown page).
  • bool NeoSettingsSetPreviewTheme(const TSharedRef<SWidget>& Preview, const FString& ThemeId)
    Gives a preview another style in place (the Preview tab's style picker). Empty: the project's.
  • void NeoSettingsSetStyleDraft(const FNeoStyleDraft* Draft)
    The draft previews follow (null: none). Process state read by the previews that follow drafts (the Setup tab's and the Preview tab's); the running settings, thumbnails and games never see it. Copied.
  • TSharedRef<FNeoPreviewContext> NeoSettingsCreatePreviewContext(ENeoSettingsPreview Screen)
  • TSharedRef<SWidget> NeoSettingsCreateScreenPreview(ENeoSettingsPreview Preview, const FString& ThemeId, const TSharedRef<FNeoPreviewContext>& Context)
    A preview on a shared sandbox (it owns the screen, not the sandbox). Never follows drafts.
  • void NeoSettingsRefreshPreviewContext(const TSharedRef<FNeoPreviewContext>& Context)
    The context's sandbox brought up to date (reload from the cache, or restyle) and its project facts read again.
  • bool NeoSettingsSetPreviewScreenAs(const TSharedRef<SWidget>& Preview, ENeoPreviewScreenAs As)
    Lays the preview out for that screen, in place (no recipe read): its frame takes the screen's aspect.
  • bool NeoSettingsSetPreviewTitleScale(const TSharedRef<SWidget>& Preview, float Scale)
    The main or pause menu's title (or the logo that replaces it) drawn at that share of its style's size, fitted at that size and kept through a restyle (the Setup tab's style tiles: half, so that a menu reads in a small tile); 1: as in game. A framed style keeps its title's size (its frame spans the column). False when the preview shows no main or pause menu.
  • bool NeoSettingsHighlightInPreview(const TSharedRef<SWidget>& Preview, const FString& Id)
    A 2-unit amber frame around a part of the preview: a setting's row ("gameplay.fov", scrolled into view), a page tab ("page:graphics"), a menu item ("main.credits", "pause.resume"), "fps_counter", "toasts". Empty: none. False when the preview does not show it.
  • TOptional<FBox2f> NeoSettingsGetHighlightRect(const TSharedRef<SWidget>& Preview)
    Tests: the frame drawn now, as a fraction of the preview's frame (unset: none).
  • FNeoSettingsCompileStats NeoSettingsGetCompileStats()
  • TArray<FNeoSettingsMenuItemInfo> NeoSettingsDescribeMenuItems(ENeoScreen Menu)
  • TArray<FNeoTechnologyInfo> NeoSettingsDescribeTechnologies()
  • FNeoStyleDescription NeoSettingsDescribeStyle(const FString& ThemeId)
  • TArray<FNeoFontFamily> NeoSettingsListFontFamilies()
  • FSlateFontInfo NeoSettingsGetFontInfo(const FString& File, float Size)
    A font file (absolute) at a size in Slate units (pixels at 100 %, as the menus size their fonts), for the editor's lists.
  • FNeoStyleRecipe NeoSettingsMakeStyleRecipe(const FNeoStyleRecipeRequest& Request)
  • bool NeoSettingsPlayMenuSound(const FString& ThemeId, FName Event, bool bAsTheMenuPlaysIt)
    Plays a menu sound event in the editor (the style editor's Sounds group, Setup > Advanced > Audio). bAsTheMenuPlaysIt: the event as the project's menu plays it (the chosen style with Style Edits, Menu Sound Overrides, Menu Sound Volume and Class); false: the file of ThemeId's own set, without Project Settings. False when the style or the event is unknown, or the event is silent.
  • uint32 NeoSettingsGetModelRevision()
    Bumped at every model reload of the running settings (not at a restyle): the Setup tab describes the model again only when it moved.

NeoSettingsEditorModule.h

Module NeoSettingsEditor.

FNeoSettingsEditorModule

Class FNeoSettingsEditorModule, based on IModuleInterface.

Editor module of Neo Settings:

  • recipe assets: .hset files imported as UNeoSettingsRecipe, re-imported when the file changes, and added to the cook without any DirectoriesToAlwaysCook setting, with the assets the recipes name by their path (an input context, a sound class, an image);
  • the "Neo Settings Preview" tab (Window menu), the plugin's screens live in a sandbox, with a style picker and a screen picker (settings, main and pause menus, dialog, toasts, Loading (Neo Async Loading Screen's), FPS counter);
  • hot reload: the plugin's Resources/NeoSettings and the project's Config/NeoSettings are watched, and so are the source files of the recipe assets;
  • recipe diagnostics on the "Neo Settings" page of the Message Log after each load and reload;
  • "Open Setup", "Open Preview" and "Reload Recipes" buttons on the Project Settings page;
  • the Setup tab (Tools > Neo Settings > Setup, Window menu; named after the product; Docs/QuickStart.md): styles, menus and Play on one screen, Advanced subjects, the checklist under one pill; Try it (this level with the main and pause menus, nothing written), the test pause's chip once per project, the welcome window once per project (where the Setup tab and the examples are; Tools > Neo Settings > Welcome shows it again), and from the next session the first-run prompt ([Try it] [Set up] [Not now]);
  • the Blueprint compile check of setting ids (HSP212, HSP213) and the id drop-downs of Hidden Pages, Hidden Settings and Enabled Optional Settings;
  • the functions the plugin's UMG templates are made with (Widget Blueprints with a root panel, widgets added as the designer adds them);
  • the editor side of the seam with Neo Async Loading Screen, the separate plugin loading screens come with (this one draws none): the Setup tab's loading line reaches it through its editor bridge, and the Setup tab hosts its Setup menus ("NeoSetup.Host.v1").
  • Get Ptr (C++ only)
    C++
    static FNeoSettingsEditorModule* GetPtr()
    The loaded module, or nullptr.
  • Open Preview (C++ only)
    C++
    void OpenPreview()
    Opens (or brings forward) the "Neo Settings Preview" tab.
  • Open Setup (C++ only)
    C++
    void OpenSetup()
    Opens (or brings forward) the Setup tab.
  • Show Welcome Again (C++ only)
    C++
    static void ShowWelcomeAgain()
    The welcome window again (Tools > Neo Settings > Welcome, console NeoSettings.Welcome).
  • Request Reload (C++ only)
    C++
    void RequestReload(const FString& Reason)
    Re-reads the recipes (running settings and preview) after a short delay that merges bursts of file events.
  • Reload Now (C++ only)
    C++
    void ReloadNow(const FString& Reason)
    Re-reads the recipes now and posts their diagnostics.
  • Open Message Log (C++ only)
    C++
    void OpenMessageLog()
    Opens the "Neo Settings" page of the Message Log.
  • Get Error Count (C++ only)
    C++
    int32 GetErrorCount() const
    Errors and warnings of the last recipe load.
  • Get Diagnostic Summary (C++ only)
    C++
    FText GetDiagnosticSummary() const
    "No issues", "2 errors, 1 warning"...
  • On Recipes Reloaded (C++ only)
    C++
    FSimpleMulticastDelegate& OnRecipesReloaded()
    Broadcast after each recipe (re)load, once the diagnostics are posted: previews rebuild themselves.

NeoSettingsBridge.h

Module NeoSettings.

The bridge Neo Async Loading Screen reads, version 2 (the Compatibility page of the documentation): static functions it calls by reflection on the class default object of /Script/NeoSettings.NeoSettingsBridge, with no compile link either way. They take and give engine types only, are not in the Blueprint palette, and answer on the game thread only. Within version 2 nothing here is renamed, removed or retyped; a version 3 would be another class, served beside this one.

UNeoSettingsBridge

Class UNeoSettingsBridge, based on UObject; shown as Neo Settings Bridge.

What Neo Settings gives Neo Async Loading Screen so that its loading screens look and read like the plugin's menus: the style as one resolved look (hlook 1 text), the loading blocks of the recipes (hset 1 text), the player's facts, and a revision that changes with any of them. Neo Async Loading Screen is also told when they change (its NotifyLookChanged). Your game has no reason to call these functions.

  • Get Bridge Version (reflected, no node)
    C++
    static int32 GetBridgeVersion()
    The version of this bridge: 2.
  • Get Bridge Capabilities (reflected, no node)
    C++
    static TArray<FName> GetBridgeCapabilities()
    What this bridge does: YieldsLoading (the plugin draws no loading screen of its own; Neo Async Loading Screen draws them), ExportLook, ExportLayers, ExportFacts, SetupHost (the Setup tab hosts Neo Async Loading Screen's cards).
  • Export Loading Look (reflected, no node)
    C++
    static FString ExportLoadingLook(FString ThemeId)
    The look of a style as hlook 1 text: the style the menus draw (ThemeId empty: Project Settings > Style; an unknown id: the style the menus fall back to, whose id the text carries), its high-contrast variant when the player turned High Contrast Menus on, Palette Overrides and Font Scale applied, literal colors, fonts as absolute files, the motion screen_open and screen_close, the player's facts, and source "NeoSettings <version>" revision <n>; no style rule (Neo Async Loading Screen styles its own screen). Empty off the game thread or before the settings run.
  • Export Loading Layers (reflected, no node)
    C++
    static FString ExportLoadingLayers()
    The loading layers of the recipes as hset 1 text, in the order the plugin compiles them (its catalog, Config/NeoSettings/*.hset, recipe assets): one layer "<name>" root "<folder>" namespace "<namespace>" { loading { … } strings { … } } per layer that has a loading block or loading texts (level_<map>, loading_*). Images are absolute files or /Game paths; tips and texts are in the current language. Empty off the game thread or before the settings run.
  • Export Loading Facts (reflected, no node)
    C++
    static FString ExportLoadingFacts(APlayerController* Player)
    A player's facts as hlook 1 text without a theme: access.reduce_motion, access.high_contrast, access.ui_scale and culture (Player null: the values every player shares). Empty off the game thread or before the settings run.
  • Get Look Revision (reflected, no node)
    C++
    static int32 GetLookRevision()
    Changes whenever the recipes, the style or the facts change (1 or more; 0 before the settings run).

Something not as described? Every code the editor shows has its own entry in Troubleshooting.