Skip to content

Sein Extents Data

Struct · FSeinExtentsPayload : FSeinPayload

Parent: Sein Component Data

#include "Components/SeinExtentsPayload.h"

deterministic: safe in simulation code

Volumetric extents of a sim entity. Carried into sim storage by USeinExtentsComponent.

Single source of truth for an entity’s physical presence. Three concerns fold in:

  1. Where is this entity? — Shapes (capsule / box / compound)

  2. Does it block pathfinding? — bBlocksNav + BlockedNavLayerMask

  3. Does it occlude vision? — bBlocksFogOfWar + BlockedFogOfWarLayerMask

All three flags default off (opt-in). A bare extents component just provides visibility-as-target geometry; flip the flags to add path / vision blocking semantics.

TArray<FSeinExtentsShape> Shapes

Editable in defaults and on instances · Blueprint read and write

One or more volumetric primitives describing the entity’s body. One entry covers most cases (capsule for infantry, box for tanks); multiple for asymmetric or compound bodies. Empty array → consumers fall back to single-point center-only checks.

bool bBakesIntoNav · default false

Editable in defaults and on instances · Blueprint read and write

Whether this entity class’s render-side primitives (meshes, colliders) get rasterized into the STATIC nav bake — units can’t path through them. Distinct from bBlocksNav: that flag drives runtime per-entity blocking (dynamic blockers added/removed as entities spawn/die), while THIS flag drives the one-time bake of static geometry into the nav grid.

Default OFF (opt-in). Set true for static entity classes (buildings, walls, props). The baker auto-skips any entity class whose class defaults carries a movement component, so mobile units (vehicles, infantry) don’t carve themselves into the static nav even when this flag is left on.

bool bBlocksNav · default false

Editable in defaults and on instances · Blueprint read and write

Whether this footprint stamps the navigation grid. Default off; buildings and deployable barriers normally enable it.

uint8 BlockedNavLayerMask · default 0x01 · shown when bBlocksNav

Editable in defaults and on instances · Blueprint read and write

Nav layers this blocker affects. A unit is blocked when its own Nav Layer Mask shares at least one bit with this mask. Default 0x01 blocks the Default layer, so an ordinary unit routes around the blocker while a unit whose mask holds only a custom layer bit ignores it.

bool bBakesIntoFogOfWar · default false

Editable in defaults and on instances · Blueprint read and write

Whether this entity class’s render-side primitives bake into the static fog-of-war grid — walls, buildings, and props occlude vision. Distinct from bBlocksFogOfWar: that flag is the runtime per-entity occluder (dynamic, e.g. smoke clouds), while THIS flag drives the one-time bake of static occluders into the FoW grid.

Default OFF (opt-in). Intentionally a separate flag from bBakesIntoNav because the use cases diverge:

  • Fence: pathable (bBakesIntoNav=false) but vision-blocking (bBakesIntoFogOfWar=true).

  • Glass wall: occlude paths (bBakesIntoNav=true) but transparent to sight (bBakesIntoFogOfWar=false). Like the nav baker, the FoW baker auto-skips entity classes with a movement component regardless of this flag.

bool bBlocksFogOfWar · default false

Editable in defaults and on instances · Blueprint read and write

Whether this entity’s footprint occludes vision in the fog-of-war shadowcast. Default OFF — set true for buildings, walls, smoke, destructibles. Per-shape Height drives the occluder height (multiple shapes stamp their own heights; per-cell max wins).

uint8 BlockedFogOfWarLayerMask · default 0xFE · shown when bBlocksFogOfWar

Editable in defaults and on instances · Blueprint read and write

Which EVNNNNNN bits this blocker occludes. Bit 1 = V (Normal), bits 2..7 = N0..N5. Bit 0 (Explored) is never blocked (history is sticky). Default 0xFE = blocks every layer. Per-layer policy: smoke might block Normal but not Thermal — clear the Thermal bit and Thermal vision passes through.

ESeinSelectionPolicy SelectionPolicy · default ESeinSelectionPolicy::Unrestricted

Editable in defaults and on instances · Blueprint read and write

Determines which other entities may share this entity’s selection. The entity must also have shapes and its runtime Is Selectable flag enabled. Group members resolve to their group before its extents policy is applied.

bool bIncludeInDragSelection · default true

Editable in defaults and on instances · Blueprint read and write

Allows a drag rectangle to acquire this entity. Disabling this leaves clicks, select-by-type, and control-group recall available under Selection Policy. A drag containing several Single Only entities selects only the highest-priority one.

FGameplayTag SelectionGroup

Editable in defaults and on instances · Blueprint read and write

Optional exact tag used to identify like units for selection. Matching tags allow different actor classes to group together; parent tags do not match children. None uses the exact actor class. Set the same group on every compatible variant.

int32 SelectionPriority · default 0

Editable in defaults and on instances · Blueprint read and write

Higher values take precedence when a replacement selection contains incompatible entities. Equal priorities use entity handles for stable results. Additive selection always preserves the existing compatible group first.

bool bCollisionEnabled · default false

Editable in defaults and on instances · Blueprint read and write

Master switch for this entity’s participation in the collision layer. OFF (default) → invisible to collision: not inserted into the collision broadphase, never pushed, never generates overlap events (the cheap path). ON → the Shapes above act as colliders per the channel model below.

ESeinCollisionMobility Mobility · default ESeinCollisionMobility::Movable · shown when bCollisionEnabled

Editable in defaults and on instances · Blueprint read and write

Whether this collider’s transform can change at runtime. Static never moves and is never pushed; use it for walls and buildings so nothing can be pushed through them. Stationary can move (doors, platforms) but is never pushed. Movable moves and can be pushed. Set it explicitly; it is not inferred from a movement component.

FFixedPoint Mass · default FFixedPoint::FromInt(100) · shown when bCollisionEnabled && Mobility == ESeinCollisionMobility::Movable · min 0.0

Editable in defaults and on instances · Blueprint read and write

Relative push mass for Block separation — how hard this collider is to shove. When two Movable colliders overlap, the heavier absorbs less of the separation (split is mass-weighted: a body of mass M vs mass m moves m/(M+m) of the overlap). Beyond the project’s Collision Mass Ratio Cutoff (Project Settings > Plugins > SeinARTS > Collision) a much-heavier collider isn’t pushed AT ALL by a much-lighter one — so a mob of infantry can’t shove a tank. Purely a collision property: NOTHING to do with footprint size, nav, or movement. Irrelevant for Static / Stationary (those are infinite mass regardless). Values are relative — only ratios matter; 100 is a baseline.

FSeinCollisionObjectType ObjectType · shown when bCollisionEnabled

Editable in defaults and on instances · Blueprint read and write

Which collision channel this collider IS (its object type). Other colliders’ response to this channel decides whether they Block, Overlap, or Ignore it. Picked from the channel registry in Project Settings > Plugins > SeinARTS > Collision — the details panel shows a dropdown of channel names. None = no object type → the collider is inert even with collision enabled.

FSeinCollisionResponseContainer CollisionResponses · shown when bCollisionEnabled

Editable in defaults and on instances · Blueprint read and write

Per-channel response overrides (Ignore / Overlap / Block). Sparse — any channel without an entry uses that channel’s DefaultResponse from settings. The pairwise outcome is the weaker of the two colliders’ responses to each other, so Block requires BOTH to Block. The details panel renders this as the Unreal-style response matrix; the runtime resolves it to a flat per-channel table once when the collider registers.