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 Neo the same way):
On this page
- Headers
- Neo
Settings Library.h - UNeo
Settings Library - Neo
Settings Player Subsystem.h - Delegates
- UNeo
Settings Player Subsystem - Neo
Menu Subsystem.h - Delegates
- UNeo
Menu Subsystem - Neo
Dialog Async Action.h - Delegates
- UNeo
Confirm Dialog Action - UNeo
Choice Dialog Action - Neo
Screen Widgets.h - UNeo
Menu Screen Widget - UNeo
Dialog Widget - UNeo
Toast Widget - Neo
Screen Presenter.h - FNeo
Screen Request - UNeo
Screen Presenter - UNeo
Screen Widget - Neo
Setting Widgets.h - Delegates
- UNeo
Setting Widget - UNeo
Toggle Setting Widget - UNeo
Slider Setting Widget - UNeo
Choice Setting Widget - UNeo
Action Setting Widget - UNeo
Key Binding Widget - UNeo
Section Header Widget - UNeo
Settings List - UNeo
Input Prompt - UNeo
Rebind Button - Neo
Settings Panel.h - Delegates
- UNeo
Settings Panel - UNeo
Setting Row - Neo
Settings Project Settings.h - ENeo
First Launch Quality - FNeo
Setting Rule - FNeo
Preset Line - UNeo
Settings Project Settings - Neo
Settings Types.h - Delegates
- ENeo
Settings Storage - ENeo
Settings Fov Mode - ENeo
Settings Editor Apply - ENeo
Settings Value Type - FNeo
Settings Value - FNeo
Settings Open Options - FNeo
Settings Capability - FNeo
Settings Import Result - ENeo
Settings Custom Kind - FNeo
Settings Custom Option - FNeo
Settings Custom Setting - FNeo
Settings Audio Channel - ENeo
Glyph Family - FNeo
Input Glyph - ENeo
Screen Profile - ENeo
Screen Profile Source - FNeo
Screen Info - ENeoScreen
- ENeo
Screen Close Reason - ENeo
Screen Corner - ENeo
Menu Action - FNeoMenuItem
- FNeo
Menu Item View - ENeo
Settings Loading Phase - ENeo
Setting Kind - ENeo
Setting Scope - ENeoApplyMode
- FNeo
Setting Option - FNeo
Setting Info - ENeo
Input Device - FNeo
Binding Info - FNeo
Section Info - FNeoPageInfo
- FNeo
Display Confirmation - FNeo
Settings Text - ENeo
Dialog Button Style - FNeo
Dialog Button - FNeo
Dialog Spec - ENeoToastKind
- FNeoToast
- FNeo
Input Conflict Group - ENeo
Shared Settings Access - ENeo
Corner Shape - ENeo
Selection Look - ENeo
Motion Pace - ENeo
Menu Position - FNeo
Style Edits - Log category
- Neo
Settings Driver.h - FNeo
Settings Driver Context - INeo
Settings Driver - Functions
- Neo
Settings Storage.h - UNeo
Settings Storage - Neo
Settings Subsystem.h - Delegates
- UNeo
Settings Subsystem - Neo
Settings Recipe.h - UNeo
Settings Recipe - Neo
Settings Preview.h - ENeo
Settings Diagnostic Severity - FNeo
Settings Diagnostic - ENeo
Settings Preview - FNeo
Settings Preview Info - FNeo
Settings Model Setting - FNeo
Settings Model Page - FNeo
Settings Model Summary - FNeo
Settings Hidden Row - FNeo
Style Draft - ENeo
Preview Screen As - FNeo
Settings Compile Stats - FNeo
Settings Menu Item Info - FNeo
Technology Info - FNeo
Style Color - FNeo
Style Description - FNeo
Font Family - FNeo
Style Recipe Request - FNeo
Style Recipe - Functions
- Neo
Settings Editor Module.h - FNeo
Settings Editor Module - Neo
Settings Bridge.h - UNeo
Settings Bridge
PrivateDependencyModuleNames.Add("NeoSettings");Headers
- NeoSettingsLibrary.h
- NeoSettingsPlayerSubsystem.h
- NeoMenuSubsystem.h
- NeoDialogAsyncAction.h
- NeoScreenWidgets.h
- NeoScreenPresenter.h
- NeoSettingWidgets.h
- NeoSettingsPanel.h
- NeoSettingsProjectSettings.h
- NeoSettingsTypes.h
- NeoSettingsDriver.h
- NeoSettingsStorage.h
- NeoSettingsSubsystem.h
- NeoSettingsRecipe.h
- NeoSettingsPreview.h
- NeoSettingsEditorModule.h
- NeoSettingsBridge.h
NeoSettingsLibrary.h
Module NeoSettings.
UNeoSettingsLibrary
Class UNeo, based on UBlueprint; 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
- Get Setting Value (Blueprint pure node)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.
static FNeoSettingsValue GetSettingValue(const UObject* WorldContextObject, const FString& SettingId, APlayerController* Player = nullptr) - Get Setting Bool (Blueprint pure node)A toggle's value; Fallback when the id is unknown.
static bool GetSettingBool(const UObject* WorldContextObject, const FString& SettingId, bool Fallback = false, APlayerController* Player = nullptr) - Get Setting Float (Blueprint pure node)A slider's value; Fallback when the id is unknown.
static float GetSettingFloat(const UObject* WorldContextObject, const FString& SettingId, float Fallback = 0.0f, APlayerController* Player = nullptr) - Get Setting Int (Blueprint pure node)A slider's value rounded to the nearest integer; Fallback when the id is unknown.
static int32 GetSettingInt(const UObject* WorldContextObject, const FString& SettingId, int32 Fallback = 0, APlayerController* Player = nullptr) - Get Setting String (Blueprint pure node)The option id of a choice, or the text of a value; Fallback when the id is unknown.
static FString GetSettingString(const UObject* WorldContextObject, const FString& SettingId, const FString& Fallback = TEXT(""), APlayerController* Player = nullptr) - Set Setting Value (Blueprint node)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).
static bool SetSettingValue(const UObject* WorldContextObject, const FString& SettingId, const FNeoSettingsValue& Value, APlayerController* Player = nullptr) - Set Setting Bool (Blueprint node)Sets a toggle (see Set Setting Value).
static bool SetSettingBool(const UObject* WorldContextObject, const FString& SettingId, bool Value, APlayerController* Player = nullptr) - Set Setting Float (Blueprint node)Sets a slider, clamped to its range and step (see Set Setting Value).
static bool SetSettingFloat(const UObject* WorldContextObject, const FString& SettingId, float Value, APlayerController* Player = nullptr) - Set Setting String (Blueprint node)Sets a choice by option id (see Set Setting Value).
static bool SetSettingString(const UObject* WorldContextObject, const FString& SettingId, const FString& Value, APlayerController* Player = nullptr) - Set Setting Value As Player (Blueprint node)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).
static bool SetSettingValueAsPlayer(const UObject* WorldContextObject, const FString& SettingId, const FNeoSettingsValue& Value, APlayerController* Player = nullptr) - Reset Setting (Blueprint node)Puts a setting back to its default for the player.
static void ResetSetting(const UObject* WorldContextObject, const FString& SettingId, APlayerController* Player = nullptr) - Reset Page (Blueprint node)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.
static void ResetPage(const UObject* WorldContextObject, const FString& PageId, APlayerController* Player = nullptr) - Reset All Settings (Blueprint node)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.
static void ResetAllSettings(const UObject* WorldContextObject, APlayerController* Player = nullptr) - Apply Pending Settings (Blueprint node)Applies the changes that wait for Apply (settings with apply mode Pending) for the player.
static void ApplyPendingSettings(const UObject* WorldContextObject, APlayerController* Player = nullptr) - Save Settings Now (Blueprint node)Writes the settings now instead of after the usual short delay.
static void SaveSettingsNow() - Run Quality Benchmark (Blueprint node)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).
static bool RunQualityBenchmark() - Are Settings Loaded (Blueprint pure node)True once the saved settings are loaded and applied (the player subsystem's On Settings Loaded).
static bool AreSettingsLoaded() - Get Capability (Blueprint pure node)Whether an image technology or display feature is present and usable: "dlss", "fsr", "dlssg", "reflex", "hdr", "raytracing"...
static FNeoSettingsCapability GetCapability(const FString& Name) - Get All Setting Ids (Blueprint pure node)Ids of every setting of the model (visible or not).
static TArray<FString> GetAllSettingIds() - Get Setting Label (Blueprint pure node)Localized label of a setting.
static FText GetSettingLabel(const FString& SettingId) - Get Diagnostics (Blueprint pure node)Recipe errors and warnings of this session, one per line ("file:line:col: ...").
static TArray<FString> GetDiagnostics()
Neo Settings › Backup
- Export Settings To Json (Blueprint node)Every setting and key binding as JSON text ("neo-settings/1"), to keep in your own save or share.
static FString ExportSettingsToJson() - Import Settings From Json (Blueprint node)Restores settings from JSON text made by Export Settings To Json (values are bounded, unknown ones ignored).
static FNeoSettingsImportResult ImportSettingsFromJson(const FString& Json) - Export Settings To File (Blueprint node)Writes the export to a file (desktop). Empty path: Saved/NeoSettings/Export.json. Returns the path.
static FString ExportSettingsToFile(const FString& FilePath) - Import Settings From File (Blueprint node)Restores settings from a file written by Export Settings To File. Empty path: Saved/NeoSettings/Export.json.
static FNeoSettingsImportResult ImportSettingsFromFile(const FString& FilePath)
Other
- Get Setting Id Options (reflected, no node)The drop-down of the setting id pins and fields: every setting id of the recipes, sorted.
static TArray<FString> GetSettingIdOptions()
Neo Settings › Screen
- Get Screen Info (Blueprint pure node)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).
static FNeoScreenInfo GetScreenInfo()
Neo Settings › Input Glyphs
- Get Input Glyph (Blueprint pure node)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.
static FNeoInputGlyph GetInputGlyph(const FKey& Key, ENeoGlyphFamily Family = ENeoGlyphFamily::Auto, float Size = 64.0f) - Get Input Glyph For Action (Blueprint pure node)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.
static FNeoInputGlyph GetInputGlyphForAction(const UObject* WorldContextObject, const UInputAction* Action, ENeoGlyphFamily Family = ENeoGlyphFamily::Auto, float Size = 64.0f, APlayerController* Player = nullptr) - Get Current Glyph Family (Blueprint pure node)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.
static ENeoGlyphFamily GetCurrentGlyphFamily(const UObject* WorldContextObject, APlayerController* Player = nullptr)
Neo Settings › Menus
- Quit Game With Confirmation (Blueprint node)Quits the game, after asking the player when bConfirm (focus on Cancel). Use the engine's Quit Game to quit without the plugin.
static void QuitGameWithConfirmation(const UObject* WorldContextObject, bool bConfirm = true)
Neo Settings › Loading Screen
- Show Loading Screen (Blueprint node)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).
static void ShowLoadingScreen(const UObject* WorldContextObject, FText Reason) - Hide Loading Screen (Blueprint node)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).
static void HideLoadingScreen(const UObject* WorldContextObject) - Add Loading Screen Hold (Blueprint node)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).
static void AddLoadingScreenHold(UObject* Holder, const FString& Reason) - Remove Loading Screen Hold (Blueprint node)Releases a hold added by Add Loading Screen Hold. Without Neo Async Loading Screen: nothing (HSP308 in the log, once).
static void RemoveLoadingScreenHold(UObject* Holder)
Neo Settings › Model
- Get Setting Info (Blueprint pure node)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.
static FNeoSettingInfo GetSettingInfo(const UObject* WorldContextObject, const FString& SettingId, APlayerController* Player = nullptr) - Get Page Ids (Blueprint pure node)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).
static TArray<FString> GetPageIds(const UObject* WorldContextObject, APlayerController* Player = nullptr) - Get Page Info (Blueprint pure node)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.
static FNeoPageInfo GetPageInfo(const UObject* WorldContextObject, const FString& PageId, APlayerController* Player = nullptr) - Format Setting Value (Blueprint pure node)A value written as the menu writes it for this setting, in the current language ("85°", "1920 × 1080", "On").
static FText FormatSettingValue(const FString& SettingId, const FNeoSettingsValue& Value) - Has Pending Settings (Blueprint pure node)True when changes of the player wait for Apply (or for the display confirmation).
static bool HasPendingSettings(const UObject* WorldContextObject, APlayerController* Player = nullptr) - Discard Pending Settings (Blueprint node)Drops the player's changes that wait for Apply.
static void DiscardPendingSettings(const UObject* WorldContextObject, APlayerController* Player = nullptr) - Get Display Confirmation (Blueprint pure node)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.
static FNeoDisplayConfirmation GetDisplayConfirmation() - Keep Display Changes (Blueprint node)Keeps the display change that waits: the mode on screen becomes the saved one. Nothing when none waits.
static void KeepDisplayChanges() - Revert Display Changes (Blueprint node)Takes the display change that waits back now, as the end of its countdown would. Nothing when none waits.
static void RevertDisplayChanges() - Is Restart Required (Blueprint pure node)True when a setting changed since the game started needs a restart to take effect (Graphics API...).
static bool IsRestartRequired()
Neo Settings › Localization
- Get Settings Texts (Blueprint node)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).
static TArray<FNeoSettingsText> GetSettingsTexts() - Export Settings Texts To Csv (Blueprint node)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.
static int32 ExportSettingsTextsToCsv(const FString& FilePath, const FString& Namespace = TEXT("NeoSettings"))
Neo Settings › Theme
- Get Theme Color (Blueprint pure node)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.
static FLinearColor GetThemeColor(FName Token, const FString& Theme = TEXT("")) - Get Theme Font (Blueprint pure node)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.
static FSlateFontInfo GetThemeFont(FName Role, float Size, const FString& Theme = TEXT(""))
Neo Settings › Dialogs
- Show Toast (Blueprint node)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.
static void ShowToast(const UObject* WorldContextObject, FText Message, ENeoToastKind Kind = ENeoToastKind::Info, float DurationSeconds = 0.0f, APlayerController* Player = nullptr) - Close Dialogs (Blueprint node)Closes the player's open and queued dialogs; each answers its Cancel button.
static void CloseDialogs(const UObject* WorldContextObject, APlayerController* Player = nullptr)
NeoSettingsPlayerSubsystem.h
Module NeoSettings.
Delegates
- FNeo
Setting Changed For Player (const FString& SettingId, const FNeo: A setting changed for this player: one of its own values, or a value every player shares.Settings Value& Value) - FNeo
Setting Changed For Player Native (const FString&, const FNeo: The same, for C++ handlers that are not UFUNCTIONs (OnSettingChangedNative): the setting id, then its value.Settings Value&) - FNeo
Screen Opened Event (ENeoScreen Screen): A plugin screen of this player opened. - FNeo
Screen Closed Event (ENeoScreen Screen, ENeo: A plugin screen of this player closed, and why.Screen Close Reason Reason) - FNeo
Glyph Family Event (ENeo: The layout of this player's input prompts changed (device used, or the Button Prompts setting).Glyph Family Family) - FNeo
Key Capture Event (const UInputAction* Action, ENeo: 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.Input Device Device, int32 KeySlot, bool bBound, FKey NewKey)
UNeoSettingsPlayerSubsystem
Class UNeo, based on ULocal; 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)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).
static UNeoSettingsPlayerSubsystem* Get(const UObject* PlayerOrWorldContext) - Add Referenced Objects (C++ only)Garbage collection of what the player's screens and dialogs hold (widgets, presenter).
static void AddReferencedObjects(UObject* InThis, FReferenceCollector& Collector) - Player Controller Changed (C++ only)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.
virtual void PlayerControllerChanged(APlayerController* NewPlayerController) - Call Or Register On Settings Loaded (C++ only)C++: runs Callback at once when the settings are loaded, else when they are (OnSettingsLoadedNative).
void CallOrRegisterOnSettingsLoaded(FSimpleDelegate Callback) - Close Screen (C++ only)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.
bool CloseScreen(ENeoScreen Screen, ENeoScreenCloseReason Reason) - Close Screens (C++ only)Closes every screen of this player with Reason; bKeepDialogs leaves the dialogs open (seamless travel keeps the game's dialogs). C++ only.
void CloseScreens(ENeoScreenCloseReason Reason, bool bKeepDialogs) - Show Dialog (C++ only)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.
int32 ShowDialog(const FNeoDialogSpec& Spec, TFunction<void(FName ButtonId)> OnDone)
Neo Settings
- Get Setting Value (Blueprint pure node)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.
FNeoSettingsValue GetSettingValue(const FString& SettingId) const - Get Setting Bool (Blueprint pure node)A toggle's value; Fallback when the id is unknown.
bool GetSettingBool(const FString& SettingId, bool Fallback = false) const - Get Setting Float (Blueprint pure node)A slider's value; Fallback when the id is unknown.
float GetSettingFloat(const FString& SettingId, float Fallback = 0.0f) const - Get Setting Int (Blueprint pure node)A slider's value rounded to the nearest integer; Fallback when the id is unknown.
int32 GetSettingInt(const FString& SettingId, int32 Fallback = 0) const - Get Setting String (Blueprint pure node)The option id of a choice, or the text of a value; Fallback when the id is unknown.
FString GetSettingString(const FString& SettingId, const FString& Fallback = TEXT("")) const - Set Setting Value (Blueprint node)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).
bool SetSettingValue(const FString& SettingId, const FNeoSettingsValue& Value) - Set Setting Bool (Blueprint node)Sets a toggle (see Set Setting Value).
bool SetSettingBool(const FString& SettingId, bool Value) - Set Setting Float (Blueprint node)Sets a slider, clamped to its range and step (see Set Setting Value).
bool SetSettingFloat(const FString& SettingId, float Value) - Set Setting String (Blueprint node)Sets a choice by option id (see Set Setting Value).
bool SetSettingString(const FString& SettingId, const FString& Value) - Reset Setting (Blueprint node)Puts a setting back to its default for this player.
void ResetSetting(const FString& SettingId) - Set Setting Value As Player (Blueprint node)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).
bool SetSettingValueAsPlayer(const FString& SettingId, const FNeoSettingsValue& Value) - Reset Page (Blueprint node)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.
void ResetPage(const FString& PageId) - Get Display Confirmation (Blueprint pure node)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.
FNeoDisplayConfirmation GetDisplayConfirmation() const - Keep Display Changes (Blueprint node)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.
void KeepDisplayChanges() - Revert Display Changes (Blueprint node)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.
void RevertDisplayChanges() - Are Settings Loaded (Blueprint pure node)True once the saved settings are loaded and applied: read the values from then on (On Settings Loaded).
bool AreSettingsLoaded() const - Is Primary Player (Blueprint pure node)True for the first local player of the game (player 1), who owns the main menu and the shared settings (display, graphics, audio, language...).
bool IsPrimaryPlayer() const - Get Local Player Index (Blueprint pure node)The player's index among the local players of the game (0 for player 1); -1 without a local player.
int32 GetLocalPlayerIndex() const - On Setting Changed (Blueprint event to bind)A setting changed for this player (player, Blueprint, import, reset): one of the player's own values, or a value every player shares.
FNeoSettingChangedForPlayer OnSettingChanged - On Settings State Changed (Blueprint event to bind)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.
FNeoSimpleEvent OnSettingsStateChanged - On Display Confirmation Changed (Blueprint event to bind)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.
FNeoSimpleEvent OnDisplayConfirmationChanged - On Settings Loaded (Blueprint event to bind)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.
FNeoSimpleEvent OnSettingsLoaded
Neo Settings › Menus
- Open Settings (Blueprint node)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.
bool OpenSettings(const FNeoSettingsOpenOptions& Options) - Close All Screens (Blueprint node)Closes every screen of this player (dialogs answer their Cancel button) and gives the game its input back; On Screen Closed says reason Code.
void CloseAllScreens() - Is Any Screen Open (Blueprint pure node)True while any plugin screen of this player is open.
bool IsAnyScreenOpen() const - Is Screen Open (Blueprint pure node)True while this screen is on the player's stack.
bool IsScreenOpen(ENeoScreen Screen) const - On Screen Opened (Blueprint event to bind)A screen of this player opened.
FNeoScreenOpenedEvent OnScreenOpened - On Screen Closed (Blueprint event to bind)A screen of this player closed, and why.
FNeoScreenClosedEvent OnScreenClosed
Neo Settings › Dialogs
- Close Dialog (Blueprint node)Closes a dialog shown by Show Dialog (open or queued); it answers its Cancel Button.
void CloseDialog(int32 DialogId) - Close All Dialogs (Blueprint node)Closes every open and queued dialog of this player; each answers its Cancel Button.
void CloseAllDialogs() - Finish Dialog (Blueprint node)Answers a dialog with a button: for your own dialog widgets (Dialog Widget Class).
void FinishDialog(int32 DialogId, FName ButtonId) - Show Toast (Blueprint node)Shows a toast in a corner of this player's screen; it never takes the focus.
void ShowToast(const FNeoToast& Toast)
Neo Settings › Input Glyphs
- Get Glyph Family (Blueprint pure node)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).
ENeoGlyphFamily GetGlyphFamily() const - Get Key For Action (Blueprint pure node)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.
FKey GetKeyForAction(const UInputAction* Action, ENeoInputDevice Device, int32 KeySlot = 0) const - Begin Key Capture (Blueprint node)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.
bool BeginKeyCapture(const UInputAction* Action, ENeoInputDevice Device, int32 KeySlot = 0) - Cancel Key Capture (Blueprint node)Stops a capture started by Begin Key Capture (On Key Capture Finished fires with bBound false).
void CancelKeyCapture() - Is Capturing Key (Blueprint pure node)True while a capture waits for a key.
bool IsCapturingKey() const - On Glyph Family Changed (Blueprint event to bind)The layout of this player's prompts changed.
FNeoGlyphFamilyEvent OnGlyphFamilyChanged - On Key Capture Finished (Blueprint event to bind)A capture started by Begin Key Capture ended: which binding, and the key now bound (bBound false: canceled).
FNeoKeyCaptureEvent OnKeyCaptureFinished - On Bindings Changed (Blueprint event to bind)This player's key bindings changed (rebind, reset, import, the game's mapping contexts rebuilt): refresh the prompts you draw yourself.
FNeoSimpleEvent OnBindingsChanged
NeoMenuSubsystem.h
Module NeoSettings.
Delegates
- FNeo
Player Event (APlayer: Play started for a player (the main menu's Play, or Start Playing).Controller* Player) - FNeoMenuEvent
(FName EventName, APlayer: 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.Controller* Player) - FNeo
Travel Event (bool bSeamless): A map change started: bSeamless for seamless travel, false for a map load that blocks the game. - FNeo
Connection Lost Event (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 UNeo, based on UGame; 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)The subsystem of the game instance of any object of a world. Null on a dedicated server, or without a game instance.
static UNeoMenuSubsystem* Get(const UObject* WorldContextObject) - Should Create Subsystem (C++ only)False on a dedicated server, the server instance of a multiplayer Play In Editor session included.
virtual bool ShouldCreateSubsystem(UObject* Outer) const - Get Loading Phase Number (reflected, no node)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.
uint8 GetLoadingPhase() const - Is Travel Fade Visible (C++ only)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.
bool IsTravelFadeVisible() const
Neo Settings › Menus
- Start Playing (Blueprint node)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.
void StartPlaying() - Quit Game With Confirmation (Blueprint node)Quits the game, after asking the player when bConfirm (focus on Cancel). Use the engine's Quit Game to quit without the plugin.
void QuitGame(bool bConfirm = true) - On Play (Blueprint event to bind)Play started for a player: the main menu's Play, or Start Playing (after Play Map loaded, when one is set).
FNeoPlayerEvent OnPlay - On Travel Started (Blueprint event to bind)A map change started (seamless or not).
FNeoTravelEvent OnTravelStarted - On Travel Finished (Blueprint event to bind)The new map has begun play after a map change.
FNeoSimpleEvent OnTravelFinished - On Connection Lost (Blueprint event to bind)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.
FNeoConnectionLostEvent OnConnectionLost
Neo Settings › Loading Screen
- Show Loading Screen (Blueprint node)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).
void ShowLoadingScreen(FText Reason) - Hide Loading Screen (Blueprint node)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).
void HideLoadingScreen() - Add Loading Screen Hold (Blueprint node)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).
void AddLoadingScreenHold(UObject* Holder, const FString& Reason) - Remove Loading Screen Hold (Blueprint node)Releases a hold added by Add Loading Screen Hold. Without Neo Async Loading Screen: nothing (HSP308 in the log, once).
void RemoveLoadingScreenHold(UObject* Holder) - Is Loading Screen Visible (Blueprint pure node)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).
bool IsLoadingScreenVisible() const - Get Loading Phase (Blueprint pure node)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.
ENeoSettingsLoadingPhase GetLoadingScreenPhase() const - On Loading Screen Visibility Changed (Blueprint event to bind)The Neo Async Loading Screen was shown or hidden (told on the next frame). Never fires without that plugin.
FNeoBoolEvent OnLoadingScreenVisibilityChanged
NeoDialogAsyncAction.h
Module NeoSettings.
Delegates
- FNeo
Dialog Exec (): The dialog was answered (or canceled). - FNeo
Dialog Chosen (FName ButtonId): A choice dialog was answered with ButtonId (its Cancel Button on Back or a map change).
UNeoConfirmDialogAction
Class UNeo, based on UCancellable; 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)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.
static UNeoConfirmDialogAction* ShowConfirmDialog(const UObject* WorldContextObject, FText Title, FText Message, FText ConfirmLabel, FText CancelLabel, bool bDestructive = false, float TimeoutSeconds = 0.0f, APlayerController* Player = nullptr) - On Confirmed (Blueprint event to bind)The player confirmed.
FNeoDialogExec OnConfirmed - On Cancelled (Blueprint event to bind)The player canceled (Cancel, Back), the countdown ended, a map change or Close Dialogs closed it, or it could not be shown.
FNeoDialogExec OnCancelled
UNeoChoiceDialogAction
Class UNeo, based on UCancellable; 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)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.
static UNeoChoiceDialogAction* ShowChoiceDialog(const UObject* WorldContextObject, const FNeoDialogSpec& Spec, APlayerController* Player = nullptr) - On Chosen (Blueprint event to bind)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.
FNeoDialogChosen OnChosen
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 UNeo, 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 Title (Blueprint pure node)The menu's title (Project Settings' Game Title, the recipe's title line, "Paused" or "Menu").
FText GetTitle() const - Get Items (Blueprint pure node)The items as the player sees them now: hidden ones left out, disabled ones with their reason.
TArray<FNeoMenuItemView> GetItems() const - Run Item (Blueprint node)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.
bool RunItem(FName ItemId) - Step Item (Blueprint node)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.
bool StepItem(FName ItemId, int32 Direction) - Request Back (Blueprint node)Does what Back does on this menu (the pause menu resumes; the main menu does nothing).
void RequestBack()
Other
UNeoDialogWidget
Class UNeo, 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)The dialog's id (Close Dialog, Finish Dialog).
int32 GetDialogId() const - Get Spec (Blueprint pure node)What the dialog asks.
FNeoDialogSpec GetSpec() const - Answer (Blueprint node)Answers the dialog with a button id; the plugin closes it.
void Answer(FName ButtonId) - On Dialog Shown (Blueprint event to implement)The dialog is shown: draw its title, message and buttons, focus the default button.
void OnDialogShown(const FNeoDialogSpec& Spec) - On Countdown (Blueprint event to implement)Seconds left of the countdown (dialogs with a timeout), each second.
void OnCountdown(float SecondsLeft)
Other
- Initialize Dialog (C++ only)The dialog the widget shows (the plugin calls it before adding the widget).
void InitializeDialog(int32 InDialogId, const FNeoDialogSpec& InSpec) - Set Answer Handler (C++ only)Where Answer goes (the plugin sets it with InitializeDialog); unset: Finish Dialog on the owning player.
void SetAnswerHandler(TFunction<void(FName ButtonId)> InOnAnswer)
UNeoToastWidget
Class UNeo, 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)What the toast says.
FNeoToast GetToast() const - On Toast Shown (Blueprint event to implement)The toast appears: draw its message and its kind's icon (never its color alone).
void OnToastShown(const FNeoToast& Toast)
Other
- Initialize Toast (C++ only)The toast the widget shows (the plugin calls it before adding the widget).
void InitializeToast(const FNeoToast& InToast)
NeoScreenPresenter.h
Module NeoSettings.
FNeoScreenRequest
Struct FNeo; shown as Neo Screen Request (Blueprint type).
A plugin screen to show or remove, handed to your presenter.
- Screen (Blueprint read only)Which screen.
ENeoScreen Screen = ENeoScreen::Settings - Player (Blueprint read only)The local player the screen belongs to.
TObjectPtr<APlayerController> Player = nullptr - Widget (Blueprint read only)The screen as a widget: place it in your UI (one of your activatable widgets, a panel of your HUD).
TObjectPtr<UNeoScreenWidget> Widget = nullptr - Modal (Blueprint read only)The screen takes the player's input while it is up (menus, dialogs): give it the focus and a UI input mode.
bool bModal = true
UNeoScreenPresenter
Class UNeo, 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)Show the screen in your UI. Return false to let the plugin draw it in its own layer (logged once, HSP402).
bool PresentScreen(const FNeoScreenRequest& Request) - Dismiss Screen (Blueprint event to override)The screen closed: remove what Present Screen added. Called only for screens your presenter accepted.
void DismissScreen(const FNeoScreenRequest& Request)
Other
- Get World (C++ only)The world of the local player the presenter serves (so Blueprint presenters can call world nodes).
virtual UWorld* GetWorld() const
UNeoScreenWidget
Class UNeo, 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)Which screen this widget draws.
ENeoScreen GetScreen() const - Request Back (Blueprint node)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.
void RequestBack()
Other
- Set Screen Content (C++ only)Sets what the widget draws (the plugin, before handing it to the presenter). OnBack runs Back on the screen.
void SetScreenContent(ENeoScreen InScreen, TSharedPtr<SWidget> InContent, TFunction<void()> InOnBack) - Get Owning Player (C++ only)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).
virtual APlayerController* GetOwningPlayer() const
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
- FNeo
Rebound Event (FKey NewKey): A Rebind Button bound a new key. - FNeo
Rebound Native (const FKey& /*NewKey*/): A Rebind Button bound a new key (C++).
UNeoSettingWidget
Class UNeo, 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)The setting this widget shows and edits.
FString SettingId - Use Style (Blueprint read and write)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.
bool bUseStyle = false - Label Text (optional widget to name in the designer)Optional: receives the setting's label.
TObjectPtr<UTextBlock> LabelText - Value Text (optional widget to name in the designer)Optional: receives the value as the menu writes it ("85°", "On").
TObjectPtr<UTextBlock> ValueText - Description Text (optional widget to name in the designer)Optional: receives the setting's description.
TObjectPtr<UTextBlock> DescriptionText - Reason Text (optional widget to name in the designer)Optional: receives why the setting is grayed (empty when it is not).
TObjectPtr<UTextBlock> ReasonText - Get Info (Blueprint pure node)The setting as the owning player sees it now.
FNeoSettingInfo GetInfo() const - Set Value (Blueprint node)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.
bool SetValue(const FNeoSettingsValue& Value) - Step (Blueprint node)Steps the value: +1 or -1 step of a slider, the next or previous available option of a choice; flips a toggle whatever Direction.
void Step(int32 Direction) - Reset To Default (Blueprint node)Puts the setting back to its default for the owning player.
void ResetToDefault() - Refresh (Blueprint node)Reads the setting again and calls On Refresh (done by itself on every change).
void Refresh() - On Refresh (Blueprint event to implement)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.
void OnRefresh(const FNeoSettingInfo& Info)
Other
- Get Shown Info (C++ only)The descriptor last drawn (C++).
const FNeoSettingInfo& GetShownInfo() const - Native Refresh (protected: for subclasses)Fills the bound widgets from Info (subclasses add their control), then calls On Refresh.
virtual void NativeRefresh(const FNeoSettingInfo& Info) - Get Focus Target (protected: for subclasses)The control that takes the row's focus (the list links rows through them); null: the row itself.
virtual UWidget* GetFocusTarget() const - Activate (protected: for subclasses)Accept on the row: a toggle flips, a choice takes its next option, a button runs.
virtual void Activate() - Get Acting Player (protected: for subclasses)The owning player (null in the designer).
ULocalPlayer* GetActingPlayer() const - Get Owner List (protected: for subclasses)The Settings List that made the row (null for a row placed on its own).
UNeoSettingsList* GetOwnerList() const
UNeoToggleSettingWidget
Class UNeo, based on UNeo; 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)Optional: follows the value and changes it when clicked.
TObjectPtr<UCheckBox> CheckBox
UNeoSliderSettingWidget
Class UNeo, based on UNeo; 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)Optional: follows the value and changes it when dragged.
TObjectPtr<USlider> Slider
UNeoChoiceSettingWidget
Class UNeo, based on UNeo; 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)Optional: previous available option.
TObjectPtr<UButton> PrevButton - Next Button (optional widget to name in the designer)Optional: next available option.
TObjectPtr<UButton> NextButton - Combo Box (optional widget to name in the designer)Optional: every available option, the current one selected.
TObjectPtr<UComboBoxString> ComboBox
UNeoActionSettingWidget
Class UNeo, based on UNeo; 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)Optional: runs the setting's action (after its confirmation, when it has one).
TObjectPtr<UButton> Button - Run Action (Blueprint node)Runs the setting's action for the owning player, as its button does (its question first, when it has one).
void RunAction()
UNeoKeyBindingWidget
Class UNeo, 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)The action whose key this row shows and rebinds.
TObjectPtr<UInputAction> Action - Device (Blueprint read and write)Keyboard and mouse, or gamepad.
ENeoInputDevice Device = ENeoInputDevice::KeyboardMouse - Key Slot (Blueprint read and write)Which of the action's keys on that device (0: the first).
int32 KeySlot - Use Style (Blueprint read and write)Give the bound texts the fonts and colors of the settings menu (the project's style). The templates tick it.
bool bUseStyle = false - Key Button (optional widget to name in the designer)Optional: starts a capture when clicked.
TObjectPtr<UButton> KeyButton - Label Text (optional widget to name in the designer)Optional: the action's name ("Jump"), as the controls page writes it.
TObjectPtr<UTextBlock> LabelText - Key Text (optional widget to name in the designer)Optional: the key's name, or "Press a key" during a capture.
TObjectPtr<UTextBlock> KeyText - Key Image (optional widget to name in the designer)Optional: the key's legend (a controller button, an arrow...).
TObjectPtr<UImage> KeyImage - Plate Image (optional widget to name in the designer)Optional: the controller button's silhouette, behind the legend.
TObjectPtr<UImage> PlateImage - Get Key (Blueprint pure node)The key bound now (None when unbound).
FKey GetKey() const - Is Capturing (Blueprint pure node)True while a capture started by this row waits for a key.
bool IsCapturing() const - Begin Capture (Blueprint node)Waits for the owning player's next key and binds it. Returns false when the action cannot be rebound.
bool BeginCapture() - Refresh (Blueprint node)Reads the binding again and calls On Key Refresh (done by itself on every change).
void Refresh() - On Key Refresh (Blueprint event to implement)Draw the binding: called when the widget is constructed, when a capture starts or ends and when bindings change.
void OnKeyRefresh(const FKey& Key, const FNeoInputGlyph& Glyph, bool bIsCapturing)
UNeoSectionHeaderWidget
Class UNeo, 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)Give Label Text the font and color of the settings menu's section titles (the project's style).
bool bUseStyle = false - Label Text (optional widget to name in the designer)Optional: receives the section's title.
TObjectPtr<UTextBlock> LabelText - On Section (Blueprint event to implement)Draw the section's title.
void OnSection(const FNeoSectionInfo& Section)
Other
- Set Section (C++ only)The section the header shows (the list calls it after creating the header).
void SetSection(const FNeoSectionInfo& InSection)
UNeoSettingsList
Class UNeo, 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)The page to show (page id, e.g. "graphics").
FString PageId - Row Classes (Blueprint read and write)The row class of each kind of setting (a kind without a class is skipped).
TMap<ENeoSettingKind, TSubclassOf<UNeoSettingWidget>> RowClasses - Key Binding Row Class (Blueprint read and write)The row class of key bindings, on controls pages (one per key slot of the page, side by side).
TSubclassOf<UNeoKeyBindingWidget> KeyBindingRowClass - Section Header Class (Blueprint read and write)The class of section titles; empty: no titles.
TSubclassOf<UNeoSectionHeaderWidget> SectionHeaderClass - Show Advanced (Blueprint read and write)Show the settings the menu keeps under "Advanced" too.
bool bShowAdvanced = true - Rows (required widget to name in the designer)Required: the panel the rows go into.
TObjectPtr<UPanelWidget> Rows - Set Page (Blueprint node)Shows another page.
void SetPage(const FString& NewPageId) - Rebuild (Blueprint node)Builds the rows again (done by itself when a setting appears, disappears or moves).
void Rebuild() - Find Row (Blueprint pure node)The row of a setting, null when it is not shown.
UNeoSettingWidget* FindRow(const FString& SettingId) const
Other
- Get Focused Row Id (C++ only)The setting or binding row that has (or last had) the focus: what a rebuild gives the focus back to (C++).
FString GetFocusedRowId() const - Notify Row Focused (C++ only)A row of the list received the focus (its rows call it; C++).
void NotifyRowFocused(const FString& RowId) - Get Built Keys (C++ only)The page's structure as built, in order: "section:<section id>", setting ids, "binding:<section id>:<n>" (tests and tools; C++).
const TArray<FString>& GetBuiltKeys() const - Get Page Id Options (reflected, no node)The ids of the pages the settings have (the Page Id drop-down).
TArray<FString> GetPageIdOptions() const
UNeoInputPrompt
Class UNeo, 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)The action to show; empty: Key.
TObjectPtr<UInputAction> Action - Key (Blueprint read and write)The key to show when Action is empty.
FKey Key - Label (Blueprint read and write)Text beside the glyph ("Jump").
FText Label - Show Label (Blueprint read and write)Draw Label beside the glyph.
bool bShowLabel = true - Family (Blueprint read and write)Layout of the glyph; Auto: the device the player used last.
ENeoGlyphFamily Family = ENeoGlyphFamily::Auto - Size (Blueprint read and write)Height of the glyph, in Slate units.
float Size = 32.0f - Tint (Blueprint read and write)Color of the legend and the label.
FLinearColor Tint = FLinearColor::White - Plate Tint (Blueprint read and write)Color of a controller button's silhouette and of a keycap.
FLinearColor PlateTint = FLinearColor(0.08f, 0.08f, 0.08f, 0.85f) - Hide When Unbound (Blueprint read and write)Hide the prompt when the action has no key on the device in use (otherwise an empty keycap shows).
bool bHideWhenUnbound = false - Set Action (Blueprint node)Shows another action and redraws.
void SetAction(UInputAction* NewAction) - Set Key (Blueprint node)Shows another key (used when Action is empty) and redraws.
void SetKey(FKey NewKey) - Set Label (Blueprint node)Changes the text beside the glyph and redraws.
void SetLabel(FText NewLabel)
Other
- Get Shown Key (C++ only)The key drawn now (None: no key on the device in use), and its layout (C++).
FKey GetShownKey() const - Refresh (C++ only)Reads the key and the layout again and redraws (done by itself on the player's events; C++).
void Refresh()
UNeoRebindButton
Class UNeo, 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)The action to rebind.
TObjectPtr<UInputAction> Action - Device (Blueprint read and write)Keyboard and mouse, or gamepad.
ENeoInputDevice Device = ENeoInputDevice::KeyboardMouse - Key Slot (Blueprint read and write)Which of the action's keys on that device (0: the first).
int32 KeySlot - Theme (Blueprint read and write)Style id (empty: the project's style).
FString Theme - On Rebound (Blueprint event to bind)A new key was bound.
FNeoReboundEvent OnRebound - Begin Capture (Blueprint node)Starts waiting for a key, as a click does. Returns false when the action cannot be rebound.
bool BeginCapture() - Is Capturing (Blueprint pure node)True while the button waits for a key.
bool IsCapturing() const
Other
- On Rebound Native (C++ only)A new key was bound (C++).
FNeoReboundNative OnReboundNative - Get Shown Key (C++ only)The key shown now (None: unbound; C++).
FKey GetShownKey() const - Refresh (C++ only)Reads the key again and redraws (done by itself on the player's events; C++).
void Refresh()
NeoSettingsPanel.h
Module NeoSettings.
Delegates
- FNeo
Settings Panel Event () - FNeo
Setting Row Event (const FString& SettingId, const FNeo: A Setting Row's value changed (the player, or anything else that changed the setting).Settings Value& Value)
UNeoSettingsPanel
Class UNeo, 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)Theme id (empty: the project's).
FString Theme - Page (Blueprint read and write)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).
FString Page - Draw Backdrop (Blueprint read and write)Draw the theme backdrop (blur, dim). Off when your menu already has a background.
bool bDrawBackdrop = false - On Back Requested (Blueprint event to bind)The player pressed Back on the first level of the menu: close or pop your menu.
FNeoSettingsPanelEvent OnBackRequested - Focus Panel (Blueprint node)Gives the panel the focus of its owning player's controller.
void FocusPanel()
UNeoSettingRow
Class UNeo, 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)The setting the row shows and edits.
FString SettingId - Theme (Blueprint read and write)Style id (empty: the project's style).
FString Theme - On Value Changed (Blueprint event to bind)The row's value changed.
FNeoSettingRowEvent OnValueChanged - Focus Row (Blueprint node)Gives the row the focus of its owning player's controller.
void FocusRow()
NeoSettingsProjectSettings.h
Module NeoSettings.
ENeoFirstLaunchQuality
Enum ENeo; shown as Neo First Launch Quality (Blueprint type).
The quality a first launch starts on (no quality chosen yet), in Standalone and packaged games.
| Value | Shown as | Meaning |
|---|---|---|
Engine | Engine Default | The levels the engine picks (scalability defaults, device profile): the plugin applies nothing. |
Low | Low | |
Medium | Medium | |
High | High | |
Epic | Epic | |
Cinematic | Cinematic | |
AutoDetect | Auto-Detect | Measures the machine at the first launch (the screen may freeze for a few seconds) and picks levels that suit it. |
FNeoSettingRule
Struct FNeo; 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)The setting the rule forces: a toggle, a slider or a choice (not a preset: force the settings it sets).
FString Setting - Condition (Blueprint read and write)When it applies, in the recipe language: graphics.vsync, graphics.upscaler == dlss, not platform.desktop...
FString Condition - Value (Blueprint read and write)The value while the condition holds: true or false (toggle), a number (slider), an option id (choice).
FString Value - Reason (Blueprint read and write)Shown on the grayed row; empty: "Set by another setting."
FText Reason
FNeoPresetLine
Struct FNeo; 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)The preset; empty: the Graphics page's Quality Preset (graphics.preset).
FString Preset - Level (Blueprint read and write)The level: low, medium, high, epic, cinematic, or a new level's id.
FName Level - Level Label (Blueprint read and write)The label of a new level (a shipped level keeps its own).
FText LevelLabel - Setting (Blueprint read and write)The setting this level sets.
FString Setting - Value (Blueprint read and write)Its value at this level (true or false, a number, an option id); empty: the level no longer sets it.
FString Value
UNeoSettingsProjectSettings
Class UNeo, based on UDeveloper; 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)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".
static const TMap<FName, FString>& GetDeclaredDefaults() - Get Theme Ids (reflected, no node)
static TArray<FString> GetThemeIds() - Get Style Genre Order (C++ only)The genres a style can be filed under (the Setup tab's chips), in their order: action, fantasy, scifi, horror, retro, casual, minimal.
static TArray<FName> GetStyleGenreOrder() - Get Shipped Style Genres (C++ only)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).
static TArray<FName> GetShippedStyleGenres(const FString& ThemeId)
Style
- Theme (Project Settings field)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).
FString Theme = TEXT("noir") - Palette Overrides (Project Settings field)Colors replaced in every style, after all recipes; the high contrast variant keeps its own.
TMap<FName, FLinearColor> PaletteOverrides - Font Scale (Project Settings field)Multiplies every font size of the menu (on top of the player's UI scale).
float FontScale = 1.0f - Style Edits (Project Settings field)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.
FNeoStyleEdits StyleEdits
Content
- Enabled Optional Settings (Project Settings field)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.
TArray<FString> EnabledOptionalSettings - Disabled Technologies (Project Settings field)Image technologies the menu must never offer even if their plugin is present: dlss, dlssg, reflex, fsr, fsrfg, raytracing, hdr.
TArray<FString> DisabledTechnologies - Custom Settings (Project Settings field)Settings declared here, without writing a recipe.
TArray<FNeoSettingsCustomSetting> CustomSettings - Recipes (Project Settings field)Your recipes (.hset files imported as assets). Applied after the plugin's catalog, in this order.
TArray<TSoftObjectPtr<UNeoSettingsRecipe>> Recipes
Audio
- Audio Channels (Project Settings field)Volume channels and the sound classes or buses they drive. Channels without targets are hidden.
TArray<FNeoSettingsAudioChannel> AudioChannels
Controls
- Manage Key Bindings (Project Settings field)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).
bool bManageKeyBindings = true - Input Contexts (Project Settings field)Input mapping contexts listed in the controls pages even before the game pushes them.
TArray<TSoftObjectPtr<UInputMappingContext>> InputContexts - Reserved Keys (Project Settings field)Keys the player can never bind (the menu keys are always reserved).
TArray<FKey> ReservedKeys - Remap Unmappable Actions (Project Settings field)List actions that are not marked player-mappable (remapped by the plugin's own key profile, assets untouched).
bool bRemapUnmappableActions = true - Conflict Groups (Project Settings field)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.
TArray<FNeoInputConflictGroup> ConflictGroups - Follow Common Input Device (Project Settings field)When the project uses CommonUI, prompts follow CommonInput's current input type.
bool bFollowCommonInputDevice = true
Gameplay
- Fov Mode (Project Settings field)
ENeoSettingsFovMode FovMode = ENeoSettingsFovMode::Relative - Reference Fov (Project Settings field)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.
float ReferenceFov = 90.0f
Behaviour
- Storage (Project Settings field)
ENeoSettingsStorage Storage = ENeoSettingsStorage::Auto - Custom Storage Class (Project Settings field)
TSoftClassPtr<UNeoSettingsStorage> CustomStorageClass - Apply Saved Settings At Startup (Project Settings field)Apply the saved settings when the game starts.
bool bApplySavedSettingsAtStartup = true - Display Confirm Seconds (Project Settings field)Seconds before an unconfirmed display change reverts.
float DisplayConfirmSeconds = 15.0f - Pause By Default (Project Settings field)Pause a standalone game while the menu is open, when opened without explicit options.
bool bPauseByDefault = false - Manage Launch Plan (Project Settings field)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.
bool bManageLaunchPlan = true - Editor Apply (Project Settings field)
ENeoSettingsEditorApply EditorApply = ENeoSettingsEditorApply::SafeOnly - Debug Open Key (Project Settings field)Optional key that opens the menu from anywhere (development helper; none by default).
FKey DebugOpenKey
Screen
- Screen Profile (Project Settings field)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.
ENeoScreenProfile ScreenProfile = ENeoScreenProfile::Auto - Opaque Backdrop On Handhelds (Project Settings field)Handhelds: draw the backdrop's opaque plate instead of its blur, which costs GPU time on a Steam Deck.
bool bOpaqueBackdropOnHandhelds = true - Details On Demand (Project Settings field)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.
bool bDetailsOnDemand = true
Menus
- Play Map (Project Settings field)The map Play opens; empty: play the map behind the main menu.
TSoftObjectPtr<UWorld> PlayMap - Game Title (Project Settings field)Title of the main menu; empty: the project's Project Displayed Title, else the project's name.
FText GameTitle - Title Image (Project Settings field)A logo drawn instead of the title text.
TSoftObjectPtr<UTexture2D> TitleImage - Pause Keys (Project Settings field)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.
TArray<FKey> PauseKeys = {EKeys::Escape, EKeys::Gamepad_Special_Right} - Pause Action (Project Settings field)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).
TSoftObjectPtr<UInputAction> PauseAction - Pause Game In Standalone (Project Settings field)The pause menu pauses a standalone game (a networked game is never paused).
bool bPauseGameInStandalone = true - Test Pause In Editor Sessions (Project Settings field)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).
bool bTestPauseInEditor = true
Dialogs
- Dialog Widget Class (Project Settings field)Your own look for every dialog (the plugin's own confirmations included); empty: the style's.
TSoftClassPtr<UNeoDialogWidget> DialogWidgetClass - Toast Widget Class (Project Settings field)Your own look for toasts; empty: the style's.
TSoftClassPtr<UNeoToastWidget> ToastWidgetClass - Max Visible Toasts (Project Settings field)Toasts visible at once per player; the others wait their turn.
int32 MaxVisibleToasts = 3
Display
- Fps Counter Corner (Project Settings field)Corner of the FPS counter (setting Show FPS), inside the safe zone.
ENeoScreenCorner FpsCounterCorner = ENeoScreenCorner::TopRight
Graphics
- First Launch Quality (Project Settings field)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.
ENeoFirstLaunchQuality FirstLaunchQuality = ENeoFirstLaunchQuality::Engine - First Launch Quality On Handhelds (Project Settings field)
bool bFirstLaunchQualityOnHandhelds = false - First Launch Quality On Handhelds (Project Settings field)The first-launch preset on Steam Deck and PC handhelds (detected at run time, whatever the build's platform).
ENeoFirstLaunchQuality FirstLaunchQualityOnHandhelds = ENeoFirstLaunchQuality::Low - Show Lighting Method (Project Settings field)Offer Lighting Method (Lumen, Screen Space, Off) where the project renders with Lumen.
bool bShowLightingMethod = true - Show Lumen Hardware Ray Tracing (Project Settings field)Offer Hardware Ray Tracing where Lumen traces with the player's ray tracing hardware.
bool bShowLumenHardwareRayTracing = true - Quality Preset Lines (Project Settings field)What a quality preset's levels set, merged with the shipped levels (a line for a new level adds that level).
TArray<FNeoPresetLine> QualityPresetLines
Setting Rules
- Setting Rules (Project Settings field)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
TArray<FNeoSettingRule> SettingRulesforcelines in that recipe (which also win over a rule here).
Split-Screen
Integration
- Screen Presenter Class (Project Settings field)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.
TSoftClassPtr<UNeoScreenPresenter> ScreenPresenterClass
NeoSettingsTypes.h
Module NeoSettings.
Delegates
- FNeo
Simple Event (): An event without parameters (menu flow, player subsystem).
ENeoSettingsStorage
Enum ENeo; shown as Neo Settings Storage Mode (Blueprint type).
Where the plugin keeps the values the engine does not save by itself.
| Value | Shown as | Meaning |
|---|---|---|
Auto | Auto | Readable JSON files under Saved/NeoSettings on desktop, the platform save system elsewhere. |
Files | Files | Always JSON files under Saved/NeoSettings. |
SaveSlots | Save Slots | Always the platform save system (SaveDataToSlot). |
Custom | Custom | Your class (Custom Storage Class) loads and saves the JSON text. |
None | None | Nothing is written: the game saves ExportSettingsToJson and restores with ImportSettingsFromJson. |
ENeoSettingsFovMode
Enum ENeo; shown as Neo Settings Fov Mode (Blueprint type).
How the FOV setting drives the camera.
| Value | Shown as | Meaning |
|---|---|---|
Relative | Relative | Scales 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. |
Absolute | Absolute | Replaces the camera FOV by the setting. |
Off | Off | The plugin does not touch the camera; read the value and apply it yourself. |
ENeoSettingsEditorApply
Enum ENeo; shown as Neo Settings Editor Apply (Blueprint type).
What the plugin applies while running inside the editor (PIE or the preview tab).
| Value | Shown as | Meaning |
|---|---|---|
Nothing | Nothing | Nothing: the menu works but no setting changes the editor. |
SafeOnly | Safe Only | Settings that cannot disturb the editor: camera, input, audio volumes. |
Everything | Everything | Everything, like a packaged game. |
ENeoSettingsValueType
Enum ENeo; shown as Neo Settings Value Type (Blueprint type).
| Value | Shown as | Meaning |
|---|---|---|
None | None | |
Bool | Bool | |
Number | Number | |
String | String |
FNeoSettingsValue
Struct FNeo; shown as Neo Settings Value (Blueprint type).
A setting value as seen from Blueprint.
- Type (Blueprint read and write)
ENeoSettingsValueType Type = ENeoSettingsValueType::None - Bool (Blueprint read and write)
bool Bool = false - Number (Blueprint read and write)
double Number = 0.0 - String (Blueprint read and write)Option id of a choice, or text value.
FString String
FNeoSettingsOpenOptions
Struct FNeo; shown as Neo Settings Open Options (Blueprint type).
Options when opening the menu.
- Page (Blueprint read and write)Page to show first (page id, e.g. "graphics"). Empty: the first page, or the last one visited.
FString Page - Pause Game (Blueprint read and write)Pause the game while the menu is open (only in a standalone game, never in multiplayer).
bool bPauseGame = false - Theme (Blueprint read and write)Theme id to use instead of the project's (e.g. "noir"). Empty: the project's theme.
FString Theme - Z Order (Blueprint read and write)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.
int32 ZOrder = 10000 - Player (Blueprint read and write)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.
TObjectPtr<APlayerController> Player = nullptr
FNeoSettingsCapability
Struct FNeo; shown as Neo Settings Capability (Blueprint type).
A capability as seen from Blueprint (e.g. "dlss", "hdr").
- Present (Blueprint read only)The technology or feature is part of the project (plugin enabled, platform support).
bool bPresent = false - Supported (Blueprint read only)It can be used on this machine.
bool bSupported = false - Reason (Blueprint read only)Why it cannot be used (for the player).
FText Reason
FNeoSettingsImportResult
Struct FNeo; shown as Neo Settings Import Result (Blueprint type).
Result of an import.
- Success (Blueprint read only)
bool bSuccess = false - Applied (Blueprint read only)
int32 Applied - Rejected (Blueprint read only)
int32 Rejected - Unknown (Blueprint read only)
int32 Unknown - Messages (Blueprint read only)
TArray<FString> Messages
ENeoSettingsCustomKind
Enum ENeo; shown as Neo Settings Custom Kind (Blueprint type).
A setting declared from Project Settings, without writing a recipe.
| Value | Shown as | Meaning |
|---|---|---|
Toggle | Toggle | |
Slider | Slider | |
Choice | Choice |
FNeoSettingsCustomOption
Struct FNeo; shown as Neo Settings Custom Option (Blueprint type).
FNeoSettingsCustomSetting
Struct FNeo; shown as Neo Settings Custom Setting (Blueprint type).
- Id (set in the editor)Unique id, e.g. "gameplay.head_bob" (page.name). The page is created if it does not exist.
FString Id - Section (set in the editor)Section id inside the page (created if needed).
FString Section = TEXT("main") - Kind (set in the editor)
ENeoSettingsCustomKind Kind = ENeoSettingsCustomKind::Toggle - Label (set in the editor)
FText Label - Description (set in the editor)
FText Description - Default On (set in the editor)
bool bDefaultOn = true - Default (set in the editor)
double Default = 1.0 - Min (set in the editor)
double Min = 0.0 - Max (set in the editor)
double Max = 1.0 - Step (set in the editor)
double Step = 0.05 - Format (set in the editor)int, decimal1, decimal2, percent, percent100, degrees, ms, fps, multiplier, or a pattern like "{0} px".
FString Format = TEXT("percent") - Options (set in the editor)
TArray<FNeoSettingsCustomOption> Options - Default Option (set in the editor)
FString DefaultOption - Per Machine (set in the editor)Saved per player (user) or per machine.
bool bPerMachine = false
FNeoSettingsAudioChannel
Struct FNeo; shown as Neo Settings Audio Channel (Blueprint type).
A named audio channel and what it drives.
- Channel (set in the editor)Channel name used by the recipes: music, sfx, voice, ui, ambient, or your own.
FName Channel - Sound Classes (set in the editor)Sound classes whose volume follows the channel (children included).
TArray<FSoftObjectPath> SoundClasses - Control Buses (set in the editor)Optional Audio Modulation control buses (volume parameter) driven by the channel.
TArray<FSoftObjectPath> ControlBuses
ENeoGlyphFamily
Enum ENeo; 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.
| Value | Shown as | Meaning |
|---|---|---|
Auto | Auto | The device the player used last: keyboard and mouse, or the controller layout of the player's Button Prompts setting (Automatic: the detected controller). |
Controller | Controller | The player's controller layout (Button Prompts setting, else the detected controller), whatever was used last. |
KeyboardMouse | Keyboard & Mouse | Keyboard and mouse. |
Xbox | A B X Y | Letters: bottom A, right B, left X, top Y. |
PlayStation | Shapes | Cross at the bottom, circle on the right, square on the left, triangle at the top. |
Nintendo | B A Y X | Letters with A on the right: bottom B, right A, left Y, top X. |
Generic | Neutral | Position marks only: the pressed button of the four is the filled one. |
FNeoInputGlyph
Struct FNeo; 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)The key shown; None when the action has no key on that device.
FKey Key - Family (Blueprint read only)Layout used (Auto and Controller resolved).
ENeoGlyphFamily Family = ENeoGlyphFamily::KeyboardMouse - Has Brush (Blueprint read only)Brush holds a legend. False: print Text inside a keycap (letters, digits, F-keys, keys without a symbol).
bool bHasBrush = false - Brush (Blueprint read only)The legend: a white SVG on a transparent background, Size x Size. Tint it with your HUD's color.
FSlateBrush Brush - Has Plate (Blueprint read only)Plate holds the button's filled silhouette (controller buttons).
bool bHasPlate = false - Plate (Blueprint read only)Filled silhouette of the button, the size of the legend: draw it behind the legend, in a fill color.
FSlateBrush Plate - Keycap (Blueprint read only)A keyboard key: draw a keycap behind Brush or Text.
bool bKeycap = false - Keycap Width (Blueprint read only)Keycap width in key heights (1 for a letter, 1.5 for Ctrl, 2 for Enter, 4 for Space), for keycaps drawn to scale.
float KeycapWidth = 1.0f - Text (Blueprint read only)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).
FText Text - Native Color (Blueprint read only)Usual color of a face button (alpha 0 when the layout has none). Data only: position, shape and letter already tell the buttons apart.
FLinearColor NativeColor = FLinearColor::Transparent
ENeoScreenProfile
Enum ENeo; 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).
| Value | Shown as | Meaning |
|---|---|---|
Auto | Automatic | Detect it. A choice only (Project Settings, the player's Screen Type), never a resolved profile. |
Desktop | Monitor | A monitor at a desk: the menu follows the system display scale and is centered on very large monitors. |
Handheld | Handheld | A handheld (Steam Deck, PC handhelds, phones): the whole screen, the most content. |
TV | TV | A TV seen from a couch (consoles, Steam Big Picture): larger text inside the safe zone. |
ENeoScreenProfileSource
Enum ENeo; shown as Neo Screen Profile Source (Blueprint type).
Where the resolved screen profile comes from.
| Value | Shown as | Meaning |
|---|---|---|
Detected | Detected | Detected from the platform, the hardware and the display. |
Player | Player | The player's Screen Type setting. |
Project | Project | Project Settings > Screen Profile. |
Override | Override | NeoSettings.Screen.Profile (command line -HSScreenProfile= or console). |
FNeoScreenInfo
Struct FNeo; 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)Resolved profile (never Auto).
ENeoScreenProfile Profile = ENeoScreenProfile::Desktop - Source (Blueprint read only)
ENeoScreenProfileSource Source = ENeoScreenProfileSource::Detected - Reason (Blueprint read only)Why, in English, for logs and test captures ("Steam Deck, built-in display", "SteamTenfoot=1").
FString Reason - Viewport Pixels (Blueprint read only)The game viewport, in physical pixels.
FIntPoint ViewportPixels = FIntPoint(1920, 1080) - Os Scale (Blueprint read only)System display scale of the monitor under the game window (1 = 100 %).
float OsScale = 1.0f - Os Scale Known (Blueprint read only)The system really reported OsScale (false: unattended runs, X11 at 1.0, consoles).
bool bOsScaleKnown = false - Pixels Per Scaled Pixel (Blueprint read only)Viewport pixels per display-scaled pixel: OsScale, corrected for an exclusive fullscreen at another resolution.
float PixelsPerScaledPixel = 1.0f - Fill Scale (Blueprint read only)ViewportPixels.Y / 1080: the menu filling the viewport height.
float FillScale = 1.0f - Base Scale (Blueprint read only)The profile's scale at Interface Size 100 %.
float BaseScale = 1.0f - Interface Size (Blueprint read only)The player's Interface Size (1 = 100 %).
float InterfaceSize = 1.0f - Layout Size (Blueprint read only)ViewportPixels / MenuScale: the room of a full-viewport menu, in units.
FVector2D LayoutSize = FVector2D(1920.0, 1080.0) - Stage Max (Blueprint read only)Largest composition, in units: a larger room centers it and shows the game around it.
FVector2D StageMax = FVector2D(1920.0, 1080.0) - Safe Margin (Blueprint read only)What a full-viewport menu keeps free on each side (title-safe area, Screen Margins), in units.
FMargin SafeMargin - Adaptive (Blueprint read only)Project Settings > Adapt Menu To Screen.
bool bAdaptive = true - Capped (Blueprint read only)A desktop screen larger than the menu needs: the stage is centered and smaller than the viewport.
bool bCapped = false - Opaque Backdrop (Blueprint read only)Draw the backdrop's opaque plate instead of its blur.
bool bOpaqueBackdrop = false - Details On Demand (Blueprint read only)Project Settings > Details On Demand.
bool bDetailsOnDemand = true - Revision (Blueprint read only)Increases at every change.
int32 Revision
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.
| Value | Shown as | Meaning |
|---|---|---|
Settings | Settings | The settings menu. |
MainMenu | Main Menu | The main menu (Continue, Play, Settings, Quit...). |
PauseMenu | Pause Menu | The pause menu (Resume, Settings, Main Menu, Quit...). |
Dialog | Dialog | A confirmation or choice dialog, always on top. |
ENeoScreenCloseReason
Enum ENeo; shown as Neo Screen Close Reason (Blueprint type).
Why a screen closed.
| Value | Shown as | Meaning |
|---|---|---|
Player | Player | The player closed it (Back, Resume, a button). |
Code | Code | The game closed it (Close All Menus, Close Dialogs, a node or C++). |
Travel | Travel | A map change closed it (hard travel, or seamless travel with Keep Menus Open On Seamless Travel off). |
Cleared | Cleared | The viewport's widgets were cleared (Remove All Widgets, viewport destroyed); the player's input was given back. |
ENeoScreenCorner
Enum ENeo; shown as Neo Screen Corner (Blueprint type).
A corner of the screen, inside the safe zone.
| Value | Shown as | Meaning |
|---|---|---|
TopLeft | Top Left | The upper left corner. |
TopRight | Top Right | The upper right corner. |
BottomLeft | Bottom Left | The lower left corner. |
BottomRight | Bottom Right | The lower right corner. |
ENeoMenuAction
Enum ENeo; shown as Neo Menu Action (Blueprint type).
What a main menu or pause menu item does.
| Value | Shown as | Meaning |
|---|---|---|
Play | Play | Main 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). |
Resume | Resume | Pause menu: close it and unpause. |
Settings | Settings | Open the settings menu (on Page when set); Back returns to this menu. |
OpenLevel | Open Level | Open Level with a fade to black (behind the Neo Async Loading Screen when that plugin is enabled). |
Restart | Restart | Reload the current level. |
MainMenu | Main Menu | Return to the main menu (networked games: the engine's Return To Main Menu, so your session code runs). |
Quit | Quit | Quit the game (desktop). |
Event | Event | Nothing 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)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.
FName Id - Label (Blueprint read and write)What the item says, translated like your other texts ("Credits").
FText Label - Action (Blueprint read and write)What choosing the item does.
ENeoMenuAction Action = ENeoMenuAction::Event - Level (Blueprint read and write)The level an Open Level item opens.
TSoftObjectPtr<UWorld> Level - Event Name (Blueprint read and write)The name On Menu Event receives for an Event item.
FName EventName - Page (Blueprint read and write)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.
FString Page - Confirm (Blueprint read and write)Ask before doing it (the focus starts on Cancel).
bool bConfirm = false - Confirm Text (Blueprint read and write)The question of the confirmation; empty: "Are you sure?".
FText ConfirmText - Destructive (Blueprint read and write)Drawn in the destructive style and never focused first.
bool bDestructive = false - Desktop Only (Blueprint read and write)Shown on desktop platforms only (a Quit item: consoles have no quit).
bool bDesktopOnly = false - Order (Blueprint read and write)Position among the items, smallest first; shipped items use 10, 20, 30...
int32 Order = 100
FNeoMenuItemView
Struct FNeo; 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)Full item id (main.play, pause.quit, main.credits): give it to Run Menu Item.
FName Id - Label (Blueprint read only)Localized label.
FText Label - Action (Blueprint read only)What choosing the item does (an icon of your own per action, for instance).
ENeoMenuAction Action = ENeoMenuAction::Play - Enabled (Blueprint read only)False: draw it grayed with Disabled Reason; Run Menu Item refuses it.
bool bEnabled = true - Disabled Reason (Blueprint read only)Why the item cannot be used now, for the player.
FText DisabledReason - Destructive (Blueprint read only)Draw it in the destructive style and never focus it first.
bool bDestructive = false - Arrows (Blueprint read only)The item has arrows (a recipe's
bool bArrows = falsearrowsline): 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 ENeo; 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.
| Value | Shown as | Meaning |
|---|---|---|
Hidden | Hidden | No loading screen. |
Opening | Opening | Fading in over the game. |
Covering | Covering | A map change, or your own wait (Show Loading Screen), in progress. |
Holding | Holding | The new map began play (or your wait ended): streaming, the pawn, holds or the minimum time still awaited. |
Closing | Closing | Fading out (the main menu fades in under it). |
ENeoSettingKind
Enum ENeo; shown as Neo Setting Kind (Blueprint type).
The control a setting is drawn with.
| Value | Shown as | Meaning |
|---|---|---|
Toggle | Toggle | On or off. |
Slider | Slider | A number between Min and Max, by Step. |
Choice | Choice | One of Options (a preset is a choice too). |
Button | Button | An action button (reset a page, benchmark, export...). |
Info | Info | Read-only information. |
ENeoSettingScope
Enum ENeo; shown as Neo Setting Scope (Blueprint type).
Where a setting's value is saved, and who shares it.
| Value | Shown as | Meaning |
|---|---|---|
Machine | Machine | One value for the machine: display, graphics, audio. |
User | User | One value per player profile: controls, gameplay, accessibility, language. |
ENeoApplyMode
Enum ENeoApplyMode; shown as Neo Apply Mode (Blueprint type).
When a changed value takes effect.
| Value | Shown as | Meaning |
|---|---|---|
Instant | Instant | At once. |
Confirm | Confirm | At once, then kept only if the player confirms before the countdown ends (display modes). |
Restart | Restart | At the next launch of the game. |
Pending | Pending | When the player presses Apply (Apply Pending Settings). |
FNeoSettingOption
Struct FNeo; shown as Neo Setting Option (Blueprint type).
One option of a choice setting.
- Id (Blueprint read only)Option id: the setting's value when it is chosen (Get Setting String).
FString Id - Label (Blueprint read only)Localized label.
FText Label - Enabled (Blueprint read only)False: show it grayed with Disabled Reason; choosing it is refused.
bool bEnabled = true - Disabled Reason (Blueprint read only)Why the option cannot be chosen now, for the player ("Needs a compatible graphics card").
FText DisabledReason
FNeoSettingInfo
Struct FNeo; 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)Setting id, e.g. "display.window_mode". Empty when the id is unknown.
FString Id - Kind (Blueprint read only)The control to draw it with: toggle, slider, choice, button or read-only information.
ENeoSettingKind Kind = ENeoSettingKind::Toggle - Label (Blueprint read only)Localized label.
FText Label - Description (Blueprint read only)Localized description, for a detail panel or a tooltip.
FText Description - Page Id (Blueprint read only)Page the setting belongs to.
FString PageId - Section Id (Blueprint read only)Section the setting belongs to.
FString SectionId - Options (Blueprint read only)Choice: the options offered now (unavailable ones left out, disabled ones grayed).
TArray<FNeoSettingOption> Options - Min (Blueprint read only)Slider: smallest value.
double Min = 0.0 - Max (Blueprint read only)Slider: largest value.
double Max = 1.0 - Step (Blueprint read only)Slider: step between two values.
double Step = 0.05 - Format (Blueprint read only)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.
FString Format - Scope (Blueprint read only)Where the value is saved: for the machine (display, graphics, audio) or for the player's profile.
ENeoSettingScope Scope = ENeoSettingScope::User - Apply Mode (Blueprint read only)When a change takes effect: at once, after a confirmation, at the next launch, or on Apply.
ENeoApplyMode ApplyMode = ENeoApplyMode::Instant - Advanced (Blueprint read only)Shown under "Advanced" by the plugin's menu.
bool bAdvanced = false - Visible (Blueprint read only)False: hide it (its conditions, the platform, Project Settings, or what this player may see in split-screen).
bool bVisible = true - Enabled (Blueprint read only)False: draw it grayed with Disabled Reason; changes are refused.
bool bEnabled = true - Disabled Reason (Blueprint read only)Why the setting cannot be changed now, for the player ("Set by Player 1", "Not available in borderless mode").
FText DisabledReason - Cost Gpu (Blueprint read only)GPU cost of raising it: -1 unknown, 0 none, 1 minor, 2 moderate, 3 major.
int32 CostGpu = -1 - Cost Vram (Blueprint read only)Video memory cost, as Cost Gpu.
int32 CostVram = -1 - Cost Cpu (Blueprint read only)CPU cost, as Cost Gpu.
int32 CostCpu = -1 - Value (Blueprint read only)The value shown: the pending value when one waits for Apply or for the display confirmation, else the current one.
FNeoSettingsValue Value - Value Text (Blueprint read only)Value formatted for the player's language ("85°", "1920 × 1080", "On").
FText ValueText - Changed (Blueprint read only)Differs from its default.
bool bChanged = false - Pending (Blueprint read only)Waits for Apply or for the display confirmation.
bool bPending = false - Restart Required (Blueprint read only)Changed; takes effect at the next launch.
bool bRestartRequired = false - Per Player (Blueprint read only)Each local player has a value of their own (split-screen). False: one value shared by every player.
bool bPerPlayer = false - Set By Other Player (Blueprint read only)A shared setting another player owns (player 1): read-only for this player, unless Project Settings make shared settings editable by everyone.
bool bSetByOtherPlayer = false
ENeoInputDevice
Enum ENeo; shown as Neo Input Device (Blueprint type).
The device family of a key binding.
| Value | Shown as | Meaning |
|---|---|---|
KeyboardMouse | Keyboard & Mouse | Keyboard keys and mouse buttons. |
Gamepad | Gamepad | Controller buttons and sticks. |
FNeoBindingInfo
Struct FNeo; 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)The action (give it to Begin Key Capture and Get Key For Action, with the page's Device).
TObjectPtr<UInputAction> Action = nullptr - Label (Blueprint read only)Localized name of the action ("Jump").
FText Label - Group Id (Blueprint read only)Conflict group of the action's mapping context (Project Settings > Controls); None: a shared context.
FName GroupId - Group Label (Blueprint read only)Title of that group's block ("Vehicle"); empty for the shared contexts.
FText GroupLabel - Keys (Blueprint read only)The player's key in each slot of the page (None: unbound).
TArray<FKey> Keys - Locked (Blueprint read only)Shown but not rebindable (a reserved key, or locked by the recipe).
bool bLocked = false
FNeoSectionInfo
Struct FNeo; 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)Section id, unique in its page (e.g. "image").
FString Id - Label (Blueprint read only)Localized title; empty for a section without a title.
FText Label - Setting Ids (Blueprint read only)The section's visible settings, in display order (read each one with Get Setting Info). Empty on a controls page.
TArray<FString> SettingIds - Bindings (Blueprint read only)Controls page: the actions of the section, in display order, grouped by conflict group.
TArray<FNeoBindingInfo> Bindings
FNeoPageInfo
Struct FNeoPageInfo; shown as Neo Page Info (Blueprint type).
A settings page: its title, icon and visible sections.
- Id (Blueprint read only)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.
FString Id - Label (Blueprint read only)Localized title.
FText Label - Icon (Blueprint read only)Icon name in the plugin's icon set (e.g. "display"); None when the page has none.
FName Icon - Bindings (Blueprint read only)A controls page: its sections list key bindings (Bindings) instead of settings.
bool bBindings = false - Device (Blueprint read only)Controls page: the device its bindings are for.
ENeoInputDevice Device = ENeoInputDevice::KeyboardMouse - Key Slots (Blueprint read only)Controls page: how many keys each action may have (columns of keys).
int32 KeySlots = 1 - Sections (Blueprint read only)Visible sections, in display order.
TArray<FNeoSectionInfo> Sections
FNeoDisplayConfirmation
Struct FNeo; 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)True while a display change waits to be kept.
bool bWaiting = false - Seconds Left (Blueprint read only)Seconds left before the change is taken back.
float SecondsLeft = 0.0f - Seconds Total (Blueprint read only)The length of the countdown (Project Settings > Display Confirm Seconds).
float SecondsTotal = 0.0f - Setting Ids (Blueprint read only)The settings that wait (display.window_mode, display.resolution...).
TArray<FString> SettingIds
FNeoSettingsText
Struct FNeo; 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)NeoSettings for the shipped catalog, else the
FString Namespacenamespaceof the recipe that declares it. - Key (Blueprint read only)The key in that namespace (display.window_mode.label, ui.apply...).
FString Key - English (Blueprint read only)The English text. A translation is used only while its source is this exact text.
FString English
ENeoDialogButtonStyle
Enum ENeo; shown as Neo Dialog Button Style (Blueprint type).
How a dialog button is drawn.
| Value | Shown as | Meaning |
|---|---|---|
Normal | Normal | A plain answer. |
Primary | Primary | The suggested answer. |
Destructive | Destructive | An answer that loses something (quit, discard, delete): distinct style, never focused first. |
FNeoDialogButton
Struct FNeo; shown as Neo Dialog Button (Blueprint type).
A dialog button.
- Id (Blueprint read and write)What the dialog answers when this button is pressed.
FName Id - Label (Blueprint read and write)What the button says: a short verb is clearest ("Quit", "Keep"). The button grows to fit it.
FText Label - Style (Blueprint read and write)Plain, the suggested answer, or an answer that loses something.
ENeoDialogButtonStyle Style = ENeoDialogButtonStyle::Normal
FNeoDialogSpec
Struct FNeo; 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)The question, in a few words ("Quit the game?").
FText Title - Message (Blueprint read and write)What happens on each answer, when the title is not enough ("Unsaved progress will be lost.").
FText Message - Buttons (Blueprint read and write)One to three buttons, left to right (a row that does not fit is stacked).
TArray<FNeoDialogButton> Buttons - Default Button (Blueprint read and write)The button focused first; None: the first button that is not destructive.
FName DefaultButton - Cancel Button (Blueprint read and write)The answer to Back (Escape, B) and to a map change; None: the last button.
FName CancelButton - Timeout Seconds (Blueprint read and write)Seconds before the dialog answers Timeout Button by itself, with a countdown shown; 0: no countdown.
float TimeoutSeconds = 0.0f - Timeout Button (Blueprint read and write)The answer when the countdown ends; None: Cancel Button.
FName TimeoutButton
ENeoToastKind
Enum ENeoToastKind; shown as Neo Toast Kind (Blueprint type).
The kind of a toast: its icon and color (never the color alone).
| Value | Shown as | Meaning |
|---|---|---|
Info | Info | News without a judgment ("Checkpoint reached"). |
Success | Success | Something worked ("Settings imported"). |
Warning | Warning | Something needs the player's attention ("Controller disconnected"). |
Error | Error | Something 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)What the toast says, in one short line.
FText Message - Kind (Blueprint read and write)Its icon and color: information, success, warning or error.
ENeoToastKind Kind = ENeoToastKind::Info - Duration Seconds (Blueprint read and write)Seconds on screen; 0: from the length of the text (3 to 10 seconds).
float DurationSeconds = 0.0f
FNeoInputConflictGroup
Struct FNeo; 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)Group id, e.g. "vehicle".
FName Id - Label (Blueprint read only)Title of the group's block on the controls pages ("Vehicle").
FText Label - Contexts (Blueprint read only)The group's mapping contexts.
TArray<TSoftObjectPtr<UInputMappingContext>> Contexts
ENeoSharedSettingsAccess
Enum ENeo; 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...).
| Value | Shown as | Meaning |
|---|---|---|
ReadOnly | Read Only | Shown grayed, with "Set by Player 1", beside the player's own settings (a page holding only shared settings is not shown). |
Hidden | Hidden | Not shown (pages holding only shared settings disappear). |
Editable | Editable | Shown and editable by every player (the last change wins). |
ENeoCornerShape
Enum ENeo; shown as Neo Corner Shape (Blueprint type).
Shape of rows, buttons and panels (Setup > Style editor > Corners).
| Value | Shown as | Meaning |
|---|---|---|
StyleOwn | Style's Own | |
Square | Square | |
Rounded | Rounded | |
Cut | Cut |
ENeoSelectionLook
Enum ENeo; shown as Neo Selection Look (Blueprint type).
How the focused row and menu item stand out (Setup > Style editor > Selection).
| Value | Shown as | Meaning |
|---|---|---|
StyleOwn | Style's Own | |
Outline | Outline | |
Fill | Fill | |
Bar | Bar | |
Brackets | Brackets | |
Underline | Underline |
ENeoMotionPace
Enum ENeo; shown as Neo Motion Pace (Blueprint type).
Speed of every transition (Setup > Style editor > Motion).
| Value | Shown as | Meaning |
|---|---|---|
StyleOwn | Style's Own | |
Snappy | Snappy | |
Smooth | Smooth |
ENeoMenuPosition
Enum ENeo; shown as Neo Menu Position (Blueprint type).
Where the main and pause menus sit (Setup > Style editor > Menu position).
| Value | Shown as | Meaning |
|---|---|---|
StyleOwn | Style's Own | |
TopLeft | Top Left | |
Top | Top | |
TopRight | Top Right | |
Left | Left | |
Center | Center | |
Right | Right | |
BottomLeft | Bottom Left | |
Bottom | Bottom | |
BottomRight | Bottom Right |
FNeoStyleEdits
Struct FNeo; 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)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.
FString Name - Title Font (Blueprint read only)Font family of titles: a shipped family or one of Config/NeoSettings/fonts. Empty: the style's.
FString TitleFont - Text Font (Blueprint read only)Font family of labels and text. Empty: the style's.
FString TextFont - Corners (Blueprint read only)
ENeoCornerShape Corners = ENeoCornerShape::StyleOwn - Corner Size (Blueprint read only)Corner size of the controls in units; panels get 1.6 times it.
float CornerSize = 8.0f - Outline (Blueprint read only)Edge of rows, buttons and panels in units; -1: the style's.
int32 Outline = -1 - Selection (Blueprint read only)
ENeoSelectionLook Selection = ENeoSelectionLook::StyleOwn - Blur (Blueprint read only)Blur of the game behind the menus in units; -1: the style's.
float Blur = -1.0f - Shade (Blueprint read only)Multiplies the opacity of the shade over the game; 1: the style's.
float Shade = 1.0f - Motion (Blueprint read only)
ENeoMotionPace Motion = ENeoMotionPace::StyleOwn - Sounds (Blueprint read only)The menu's sound set: empty (the style's), "none", or a style id.
FString Sounds
Other
- Is Empty (C++ only)Nothing changes the style (Name aside).
bool IsEmpty() const
Log category
Log: 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:
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 FNeo.
What a driver is asked about: which setting, which local player, and the binding's parameters.
- Setting Id (C++ only)The setting being read or applied (e.g. "gameplay.difficulty").
FString SettingId - Local Player (C++ only)The local player, for a per-player driver (IsPerPlayer true); null for the others, and in the editor's preview.
ULocalPlayer* LocalPlayer = nullptr - Params (C++ only)The binding's parameters:
TMap<FString, FString> Paramsbind driver mygame.damage scale=2gives "scale" = "2". - Param (C++ only)A parameter's text, Default when the binding does not give it.
FString Param(const FString& Name, const FString& Default = FString()) const
INeoSettingsDriver
Interface INeo.
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)The name recipes bind to (
virtual FName GetName() constbind driver <name>): your game's prefix and a dot, e.g. "mygame.difficulty". - Is Available (C++ only)False hides the settings bound to the driver (feature absent on this platform, in this project).
virtual bool IsAvailable(const FNeoSettingsDriverContext& Context) const - Get Disabled Reason (C++ only)Not empty: the setting is grayed with this reason, for the player ("Only in single player").
virtual FText GetDisabledReason(const FNeoSettingsDriverContext& Context) const - Read (C++ only)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.
virtual FNeoSettingsValue Read(const FNeoSettingsDriverContext& Context) const - Apply (C++ only)Applies a value. Returns false when the game refused it (the setting then shows Read again).
virtual bool Apply(const FNeoSettingsDriverContext& Context, const FNeoSettingsValue& Value) - Get Options (C++ only)The options of a choice bound with
virtual void GetOptions(const FNeoSettingsDriverContext& Context, TArray<FNeoSettingOption>& OutOptions) constoptions from <driver name>(difficulty levels known at run time...). - Is Per Player (C++ only)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.
virtual bool IsPerPlayer() const - Is Editor Safe (C++ only)True: safe to apply in Play In Editor when Project Settings > Editor Apply is Safe Only.
virtual bool IsEditorSafe() const - End Batch (C++ only)Called once after a batch of Apply calls (startup, preset, import): apply costly changes once here.
virtual void EndBatch()
Functions
void NeoSettings Register Driver(const TShared Ref<INeo Settings Driver>& 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 NeoSettings Unregister Driver(FName Name)
Removes a driver registered by NeoSettingsRegisterDriver (call it from your module's ShutdownModule).
NeoSettingsStorage.h
Module NeoSettings.
UNeoSettingsStorage
Class UNeo, 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)Return the saved JSON text for the scope and local player, or an empty string if nothing was saved.
FString LoadSettings(const FString& Scope, int32 UserIndex) - Save Settings (Blueprint event to override)Store the JSON text.
void SaveSettings(const FString& Scope, int32 UserIndex, const FString& Json)
NeoSettingsSubsystem.h
Module NeoSettings.
Delegates
- FNeo
Setting Changed (const FString& SettingId, const FNeoSettings Value& Value, int32 Local Player Index) - FNeo
Settings Menu Event () - FNeo
Settings Custom Event (const FString& EventName, const FString& SettingId)
UNeoSettingsSubsystem
Class UNeo, based on UEngine; 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)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.
FNeoSettingChanged OnSettingChanged - On Custom Event (Blueprint event to bind)A button with
FNeoSettingsCustomEvent OnCustomEventaction event "<name>"was pressed.
Other
- Get Runtime (C++ only)The runtime (C++ only). Valid after Initialize.
FHSRuntime* GetRuntime() const - Ensure Started (C++ only)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.
void EnsureStarted()
NeoSettingsRecipe.h
Module NeoSettings.
UNeoSettingsRecipe
Class UNeo, 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)The recipe text (copied from the source file at import).
FString Text - Source File (set in the editor)Source file the text was imported from (relative to the project when possible).
FString SourceFile - Source Hash (set in the editor)Hash of the source text at import.
FString SourceHash - Asset Import Data (set in the editor)
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 ENeo.
Severity of a recipe diagnostic.
| Value | Shown as | Meaning |
|---|---|---|
Info | Info | |
Warning | Warning | |
Error | Error |
FNeoSettingsDiagnostic
Struct FNeo.
One recipe diagnostic: where (file:line:col), a stable code, the cause, and what to write instead.
- File (C++ only)File name as the recipe loader knows it (absolute, relative to its layer root, or a recipe asset's source).
FString File - Line (C++ only)1-based, 0 = unknown.
int32 Line - Column (C++ only)1-based, 0 = unknown.
int32 Column - Code (C++ only)Stable short code, e.g. "HS101".
FString Code - Hint (C++ only)What to write instead (may be empty).
FString Hint
ENeoSettingsPreview
Enum ENeo.
What an editor preview shows: a screen of the plugin, or one of its window layers.
| Value | Shown as | Meaning |
|---|---|---|
Settings | Settings | The settings menu, opened from the main menu. |
MainMenu | Main Menu | The main menu over the game (the menu main recipe as player 1 sees it). |
PauseMenu | Pause Menu | The pause menu over the game (menu pause, a standalone game: titled "Paused"). |
Dialog | Dialog | The main menu's Quit question (destructive, the focus on Cancel), over the main menu. |
Toasts | Toasts | A stack of toasts of each kind in the style's corner, as many as Max Visible Toasts shows (the others queued). |
Loading | Loading | Kept 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. |
FpsCounter | Fps Counter | The FPS counter in its corner, reading the editor's own frame rate (60 FPS · 16.7 ms before the first frame). |
FNeoSettingsPreviewInfo
Struct FNeo.
What a preview made by the functions above shows, for tests and tools.
- Is Preview (C++ only)False for any other widget (the fields below are then empty).
bool bIsPreview = false - Theme Id (C++ only)The style asked for (empty: the project's).
FString ThemeId - Title (C++ only)The menu's title, the dialog's question; empty otherwise.
FText Title - Items (C++ only)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.
TArray<FString> Items - Texts (C++ only)The texts of Items, in the same order (labels, messages, the FPS reading).
TArray<FText> Texts - Focused (C++ only)The focused menu item or dialog button, the settings menu's focused row (a setting id, a binding row key); empty otherwise.
FString Focused - Queued (C++ only)Toasts waiting for a free place (Project Settings > Max Visible Toasts).
int32 Queued - Focus Rect (C++ only)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.
FBox2f FocusRect = FBox2f(ForceInit) - Test Mark (C++ only)The pause menu wears the TEST mark (the test pause).
bool bTestMark = false
FNeoSettingsModelSetting
Struct FNeo.
One setting of the recipes as the editor's tools see it.
- Label (C++ only)In the editor's language; the id when the recipe gives no label.
FText Label - Optional (C++ only)An optional setting of the catalog (
bool bOptional = falseoptin): shown only once listed in Enabled Optional Settings. - Optional Enabled (C++ only)Listed in Enabled Optional Settings (or by an
bool bOptionalEnabled = falseenableline). - Description (C++ only)The recipe's description for players (
FText Descriptiondesc), in the editor's language; empty when none. - Custom (C++ only)Declared in Project Settings > Custom Settings.
bool bCustom = false - Stored Only (C++ only)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.
bool bStoredOnly = false - Catalog (C++ only)Declared by the plugin's own catalog (Resources/NeoSettings/catalog).
bool bCatalog = false - Option Ids (C++ only)A choice's option ids, in the recipe's order; empty when its options are made at run time (resolutions...).
TArray<FString> OptionIds - Has Range (C++ only)The recipe gives the slider a range (Min, Max).
bool bHasRange = false - Min (C++ only)The slider's lowest value.
double Min = 0.0 - Max (C++ only)The slider's highest value.
double Max = 1.0
FNeoSettingsModelPage
Struct FNeo.
One page of the recipes and its sections.
- Bindings (C++ only)A controls page (key bindings).
bool bBindings = false
FNeoSettingsModelSummary
Struct FNeo.
What the recipes declare, read from the running settings (or compiled in a sandbox when they do not run).
- Settings (C++ only)In the recipes' order.
TArray<FNeoSettingsModelSetting> Settings - Pages (C++ only)In the menu's order.
TArray<FNeoSettingsModelPage> Pages - Input Contexts (C++ only)Mapping contexts the recipes and Project Settings list for the controls pages (
TArray<FString> InputContextsinput { context, group, shared }).
FNeoSettingsHiddenRow
Struct FNeo.
A setting of the recipes that the settings menu does not show on this machine, and why.
- Reason (C++ only)Why, in one sentence ("Optional: list it in Enabled Optional Settings to show it.").
FText Reason - Condition (C++ only)The recipe condition that hides it, as written (empty when no condition does).
FString Condition
FNeoStyleDraft
Struct FNeo.
What the Setup tab is dragging and has not written yet.
ENeoPreviewScreenAs
Enum ENeo.
The screen a preview simulates (Setup > Advanced > Screens, Preview as). Detected: the 1920 x 1080 reference.
| Value | Shown as | Meaning |
|---|---|---|
Detected | Detected | |
Monitor | Monitor | |
Laptop150 | Laptop 150 | |
UHD4K | UHD 4 K | |
TV | TV | |
SteamDeck | Steam Deck |
FNeoSettingsCompileStats
Struct FNeo.
Recipe compiles of this process since the editor started (tests and the Setup tab's checks).
FNeoSettingsMenuItemInfo
Struct FNeo.
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)Index in Extra Main/Pause Menu Items; INDEX_NONE for a shipped item not changed there.
int32 ExtraIndex = INDEX_NONE
FNeoTechnologyInfo
Struct FNeo.
An image technology the menu can offer: dlss, dlssg, reflex, fsr, fsrfg, raytracing, hdr.
FNeoStyleColor
Struct FNeo.
A color of a style for the style editor.
FNeoStyleDescription
Struct FNeo.
What the style editor shows of a declared style.
- Colors (C++ only)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.
TArray<FNeoStyleColor> Colors
FNeoFontFamily
Struct FNeo.
A font family the style editor offers.
FNeoStyleRecipeRequest
Struct FNeo.
Save as style's text (Setup > Style editor). From the section as saved (never the draft).
- Existing File (C++ only)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.
FString ExistingFile - New Style (C++ only)New style (the NEW STYLE tile): always a new file extending ParentId, never a rewrite of ExistingFile.
bool bNewStyle = false - Product Name (C++ only)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".
FString ProductName
FNeoStyleRecipe
Struct FNeo.
Functions
TSharedRef<SWidget> Neo Settings Create Preview Widget(const FString& ThemeId, const FString& InitialPage = FString(), ENeoScreen Screen = ENeo Screen:: 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> Neo Settings Create Screen Preview(ENeo Settings Preview 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.FNeoSettings Preview Info Neo Settings Describe Preview(const TShared Ref<SWidget>& Preview)
What Preview shows now (bIsPreview false for a widget that is not one).FString NeoSettings Get Preview Page(const TShared Ref<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 NeoSettings Reload Recipes()
Re-reads every recipe of the running settings (values are kept). False when the settings subsystem is not running.TArray<FNeoSettings Diagnostic> Neo Settings Get Recipe Diagnostics()
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 Neo Settings Add On Recipes Reloaded(FSimple Delegate 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 NeoSettings Remove On Recipes Reloaded(FDelegate Handle Handle)
Removes a callback added by NeoSettingsAddOnRecipesReloaded (safe after the subsystem is gone).FNeoSettings Model Summary Neo Settings Describe Model()
The recipes' settings, pages and listed contexts.TArray<FNeoSettings Hidden Row> Neo Settings Get Hidden Rows()
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 NeoSettings Set Try Menus(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 NeoSettings Is Trying Menus()
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* NeoSettings Try Menus Argument()
"-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 NeoSettings Is Test Pause Active()
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 NeoSettings Request Test Pause Chip()
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 NeoSettings Consume Test Pause Chip Shown()
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> Neo Settings Create Test Pause Preview(const FString& ThemeId)
The pause menu as the test pause shows it (TEST mark), in a sandbox like the other previews.TOptional<FLinearColor> Neo Settings Get Style Own Color(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 NeoSettings Refresh Preview(const TShared Ref<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 NeoSettings Show Preview Page(const TShared Ref<SWidget>& Preview, const FString& PageId)
Turns a settings menu preview to a page in place (false for another preview or an unknown page).bool NeoSettings Set Preview Theme(const TShared Ref<SWidget>& Preview, const FString& ThemeId)
Gives a preview another style in place (the Preview tab's style picker). Empty: the project's.void NeoSettings Set Style Draft(const FNeo Style Draft* 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<FNeo Preview Context> Neo Settings Create Preview Context(ENeo Settings Preview Screen) TSharedRef<SWidget> Neo Settings Create Screen Preview(ENeo Settings Preview Preview, const FString& ThemeId, const TShared Ref<FNeo Preview Context>& Context)
A preview on a shared sandbox (it owns the screen, not the sandbox). Never follows drafts.void NeoSettings Refresh Preview Context(const TShared Ref<FNeo Preview Context>& Context)
The context's sandbox brought up to date (reload from the cache, or restyle) and its project facts read again.bool NeoSettings Set Preview Screen As(const TShared Ref<SWidget>& Preview, ENeo Preview Screen As As)
Lays the preview out for that screen, in place (no recipe read): its frame takes the screen's aspect.bool NeoSettings Set Preview Title Scale(const TShared Ref<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 NeoSettings Highlight In Preview(const TShared Ref<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> NeoSettings Get Highlight Rect(const TShared Ref<SWidget>& Preview)
Tests: the frame drawn now, as a fraction of the preview's frame (unset: none).FNeoSettings Compile Stats Neo Settings Get Compile Stats() TArray<FNeoSettings Menu Item Info> Neo Settings Describe Menu Items(ENeo Screen Menu) TArray<FNeoTechnology Info> Neo Settings Describe Technologies() FNeoStyle Description Neo Settings Describe Style(const FString& ThemeId) TArray<FNeoFont Family> Neo Settings List Font Families() FSlateFont Info Neo Settings Get Font Info(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.FNeoStyle Recipe Neo Settings Make Style Recipe(const FNeo Style Recipe Request& Request) bool NeoSettings Play Menu Sound(const FString& ThemeId, FName Event, bool b As The Menu Plays It)
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 NeoSettings Get Model Revision()
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 Neo.
FNeoSettingsEditorModule
Class FNeo, based on IModule.
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)The loaded module, or nullptr.
static FNeoSettingsEditorModule* GetPtr() - Open Preview (C++ only)Opens (or brings forward) the "Neo Settings Preview" tab.
void OpenPreview() - Open Setup (C++ only)Opens (or brings forward) the Setup tab.
void OpenSetup() - Show Welcome Again (C++ only)The welcome window again (Tools > Neo Settings > Welcome, console NeoSettings.Welcome).
static void ShowWelcomeAgain() - Request Reload (C++ only)Re-reads the recipes (running settings and preview) after a short delay that merges bursts of file events.
void RequestReload(const FString& Reason) - Reload Now (C++ only)Re-reads the recipes now and posts their diagnostics.
void ReloadNow(const FString& Reason) - Open Message Log (C++ only)Opens the "Neo Settings" page of the Message Log.
void OpenMessageLog() - Get Error Count (C++ only)Errors and warnings of the last recipe load.
int32 GetErrorCount() const - Get Diagnostic Summary (C++ only)"No issues", "2 errors, 1 warning"...
FText GetDiagnosticSummary() const - On Recipes Reloaded (C++ only)Broadcast after each recipe (re)load, once the diagnostics are posted: previews rebuild themselves.
FSimpleMulticastDelegate& OnRecipesReloaded()
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 UNeo, 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)The version of this bridge: 2.
static int32 GetBridgeVersion() - Get Bridge Capabilities (reflected, no node)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).
static TArray<FName> GetBridgeCapabilities() - Export Loading Look (reflected, no node)The look of a style as
static FString ExportLoadingLook(FString ThemeId)hlook 1text: 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, andsource "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)The loading layers of the recipes as
static FString ExportLoadingLayers()hset 1text, in the order the plugin compiles them (its catalog, Config/NeoSettings/*.hset, recipe assets): onelayer "<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)A player's facts as
static FString ExportLoadingFacts(APlayerController* Player)hlook 1text 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)Changes whenever the recipes, the style or the facts change (1 or more; 0 before the settings run).
static int32 GetLookRevision()
Something not as described? Every code the editor shows has its own entry in Troubleshooting.