Sein User Widget
Class · USeinUserWidget : UUserWidget
#include "Core/SeinUserWidget.h"
abstract: use a subclass · can be subclassed in Blueprint
Base class for SeinARTS UI widgets.
Automatically discovers and caches the UI subsystem, player controller, and world subsystem on construct. Provides convenience accessors so that Widget Blueprints can access the full ViewModel and data layer with minimal boilerplate.
This is intentionally thin — no auto-binding to delegates, no Refresh() pattern. Widgets subscribe to whatever they need in Blueprint.
Functions
Section titled “Functions”Get Selection Model
Section titled “Get Selection Model”Get the selection model (tracks current selection, provides entity ViewModels).
USeinSelectionModel* GetSelectionModel() const;Get Local Player View Model
Section titled “Get Local Player View Model”Get the local player’s ViewModel (resources, tech, etc.).
USeinPlayerViewModel* GetLocalPlayerViewModel() const;Get Entity View Model
Section titled “Get Entity View Model”Get or create an entity ViewModel for a specific entity.
USeinEntityViewModel* GetEntityViewModel(FSeinEntityHandle Handle) const;Get Minimap View Model
Section titled “Get Minimap View Model”Get the minimap view-model (blips, fog overlay, background).
USeinMinimapViewModel* GetMinimapViewModel() const;Get Actor Bridge
Section titled “Get Actor Bridge”Get the actor bridge subsystem.
USeinActorBridgeSubsystem* GetActorBridge() const;Properties
Section titled “Properties”Consume Clicks
Section titled “Consume Clicks”bool bConsumeClicks · default true
Editable in defaults and on instances · Blueprint read and write
Stops unhandled left and right clicks from reaching parent widgets or the game. Child controls and this widget’s Blueprint mouse handlers run first. Disable to let unhandled clicks continue to parents, which may still consume them. For a full-screen HUD, keep the widget and layout canvas Not Hit-Testable (Self Only) and its interactive backgrounds Visible so empty screen space remains playable.
UI Subsystem
Section titled “UI Subsystem”TWeakObjectPtr<USeinUISubsystem> UISubsystem
Blueprint read-only
The UI subsystem (ViewModel factory).
Sein Player Controller
Section titled “Sein Player Controller”TWeakObjectPtr<ASeinPlayerController> SeinPlayerController
Blueprint read-only
The local player’s SeinARTS player controller.
World Subsystem
Section titled “World Subsystem”TWeakObjectPtr<USeinWorldSubsystem> WorldSubsystem
Blueprint read-only
The simulation world subsystem.