Sein Footprint Packing
Struct · FSeinFootprintPacking
#include "Formations/SeinFormation.h"
deterministic: safe in simulation code
Result of USeinFormation::PackFootprints — a tight cell-grid packing of mixed-footprint members. Span / BlockRow / BlockCol are index-aligned with the Radii passed in. Cell is the grid unit (the smallest member’s diameter, floored at MinCell); each member occupies a Span×Span block whose top-left cell is (BlockRow, BlockCol), row 0 = front. Columns/Rows are the allocated grid extents (Rows over-allocates so the big-box pass always fits — callers centre on the OCCUPIED bounds, not these). Pure compute, no UObject — a plain value struct shared by the Grid and Box formations.
Properties
Section titled “Properties”FFixedPoint Cell · default FFixedPoint::Zero
Blueprint read and write
Size of one grid cell in world units: the smallest member’s diameter, but never below the minimum cell passed in.
TArray<int32> Span
Blueprint read and write
Per member, the width and height of its square block in cells. Larger members occupy more cells. Index-aligned with the radii passed in.
Block Row
Section titled “Block Row”TArray<int32> BlockRow
Blueprint read and write
Per member, the row of its block’s top-left cell. Row 0 is the front.
Block Col
Section titled “Block Col”TArray<int32> BlockCol
Blueprint read and write
Per member, the column of its block’s top-left cell.
Columns
Section titled “Columns”int32 Columns · default 1
Blueprint read and write
Number of columns in the packed grid.
int32 Rows · default 1
Blueprint read and write
Number of rows allocated in the packed grid. It can exceed the rows actually used, so centre on the occupied bounds rather than the whole grid.