Sein Minimap View Model
Class · USeinMinimapViewModel : UObject
#include "ViewModel/SeinMinimapViewModel.h"
View-model for the minimap. Style-free: blips carry relation + size class, and the widget maps those to color/radius. Positions are north-up normalized [0,1] map space.
Event dispatchers
Section titled “Event dispatchers”On Refreshed
Section titled “On Refreshed”FOnMinimapViewModelRefreshed OnRefreshed
Fired after each Refresh().
Properties
Section titled “Properties”World Bounds Min
Section titled “World Bounds Min”FVector2D WorldBoundsMin · default FVector2D::ZeroVector
Blueprint read-only
World-space XY of the play-area min corner (matches the baked grid origin).
World Bounds Max
Section titled “World Bounds Max”FVector2D WorldBoundsMax · default FVector2D(1.0, 1.0)
Blueprint read-only
World-space XY of the play-area max corner (origin + dims * cell size).
Ground Z
Section titled “Ground Z”float GroundZ · default 0.0f
Blueprint read-only
Representative baked surface Z used for screen<->world deprojection.
Has Bounds
Section titled “Has Bounds”bool bHasBounds · default false
Blueprint read-only
True once the play-area bounds have been resolved from the level-data substrate.
TArray<FSeinMinimapBlip> Blips
Blueprint read-only
Live unit markers, rebuilt every refresh.
Fog Texture
Section titled “Fog Texture”TObjectPtr<UTexture2D> FogTexture
Blueprint read-only
Fog overlay texture (alpha hides terrain): visible = transparent, explored = dim, unexplored = opaque. Null when the world has no active fog.
Background Texture
Section titled “Background Texture”TObjectPtr<UTexture2D> BackgroundTexture
Blueprint read-only
Background terrain texture (per-level override, else baked). Null if neither exists.
Fog Texture Resolution
Section titled “Fog Texture Resolution”int32 FogTextureResolution · default 256 · min 16, max 512
Editable in defaults and on instances · Blueprint read and write
Square edge of the fog overlay texture in texels. Higher = sharper fog edges.
Fog Update Interval
Section titled “Fog Update Interval”int32 FogUpdateInterval · default 4 · min 1
Editable in defaults and on instances · Blueprint read and write
Rebuild the fog overlay every N presentation refreshes. 1 = every engine frame that completed simulation work.
Fog Blur Radius
Section titled “Fog Blur Radius”int32 FogBlurRadius · default 0 · min 0, max 8
Editable in defaults and on instances · Blueprint read and write
Box-blur radius (texels) applied to the fog overlay each rebuild to soften the hard per-cell edges. 0 = off. Works together with the texture’s bilinear filtering.
Fog Explored Color
Section titled “Fog Explored Color”FColor FogExploredColor · default FColor(0, 0, 0, 120)
Editable in defaults and on instances · Blueprint read and write
Fog overlay color for explored-but-not-currently-visible cells (alpha darkens terrain).
Fog Unexplored Color
Section titled “Fog Unexplored Color”FColor FogUnexploredColor · default FColor(2, 2, 4, 255)
Editable in defaults and on instances · Blueprint read and write
Fog overlay color for never-explored cells (alpha near-opaque hides terrain).
C++ members (2)
void Initialize(USeinWorldSubsystem* InWorldSubsystem, UWorld* InWorld);Bind to the sim subsystem + owning world. Safe to call with a null subsystem (the PC / level data may not exist yet — Refresh re-resolves lazily).void Refresh();Rebuild cached minimap data from the sim. Called each sim tick byUSeinUISubsystem.