Skip to content

Sein Formation Layout

Struct · FSeinFormationLayout

#include "Brokers/SeinBrokerTypes.h"

deterministic: safe in simulation code

A formation’s solved layout: a world position, footprint radius and facing for each member, plus the formation’s overall facing. The destination preview and the committed order read the same layout, so they always agree.

TArray<FFixedVector> Positions

Blueprint read and write

Per-member world positions, index-aligned with the input Members array.

TArray<FFixedPoint> Radii

Blueprint read and write

Per-member footprint radius (world units), index-aligned with Positions — the radius the formation spaced each slot by. Emitted so the destination preview can size each dot to the unit’s footprint (preview === commit). May be empty when a formation doesn’t size by footprint; consumers then fall back to a uniform dot size.

FFixedQuaternion Facing

Blueprint read and write

Formation’s facing at the anchor — the direction the front rank faces. Always rotated to point from the centroid toward the move target (even a straight 180° reverse): the formation pivots to face where it’s going.

TArray<FFixedQuaternion> Facings

Blueprint read and write

Per-member facing, index-aligned with Positions — position-DEPENDENT (a ring faces each member radially out, etc.). Filled by the resolver after layout from the formation’s FacingMode. Empty → consumers fall back to the single Facing.