Skip to content

SeinARTS Game Framework

Class · USeinGameFrameworkSettings : USeinSettings

Parent: Sein Settings

#include "Settings/SeinGameFrameworkSettings.h"

Player-facing settings: single-click formations, the formation preview and marquee selection.

bool bEnableSingleClickFormations · default false

Editable in defaults and on instances · Saved to config

Whether a plain (non-drag) right-click spreads the selection into the Default Formation at the cursor — with the destination preview showing it — instead of every unit converging on the single clicked point. Off by default, which is the classic single-destination click.

TSoftClassPtr<ASeinFormationPreviewActor> FormationPreviewActorClass

Editable in defaults and on instances · Saved to config

Default renderer for the on-ground destination preview. A unit opts into the preview by carrying a Navigation Renderer on its Blueprint (on a group’s actor it covers every member); units without one draw no markers, and this class is what an opted-in unit uses when its component doesn’t name a renderer itself. The framework default uses flat mesh quads that stay crisp under temporal anti-aliasing. Two alternatives ship: a decal version that conforms to terrain but smears under TAA while you drag, and an instanced-mesh version that draws a whole formation in one call and scales to huge selections. Subclass any of them in Blueprint to restyle the look (preview mesh, material, quality tints), or override the element hooks for a fully custom backend. For a per-unit look, configure the marker fields on that unit’s Navigation Renderer; member fields override group renderer fields, which override the backend defaults. None turns the preview off for units whose Navigation Renderer names no class (Sein.Preview.Disable 1 suppresses all drawing while developing).

bool bUseSeinExtentsForMarquee · default true

Editable in defaults and on instances · Saved to config

How marquee (drag-box) selection measures each unit’s on-screen footprint. The HUD projects a unit’s body to the screen and tests that 2D silhouette against the drag rectangle.

On (default), it tests the unit’s actual authored extents — exact box corners, and capsules with real hemispherical end-caps — so the selection matches the red extents visualizer one to one and the box grabs exactly what you see.

Off is the fast path: it approximates each body by the hull of its extent’s top and bottom rings, a flat-capped cylinder. It is cheaper, but under an angled RTS camera the near edge of the base ring balloons below the unit, so the hull over-covers tall or large capsules and the box can grab units it never visually touched (worst on big units). Toggle the Sein.Marquee.Debug.Show overlay to compare the two live.