Skip to content

Sein Vision Data

Struct · FSeinVisionPayload : FSeinPayload

Parent: Sein Component Data

#include "Components/SeinVisionPayload.h"

deterministic: safe in simulation code

Per-entity vision-source payload. Lives in sim storage as a reflected component; authored on actor Blueprints via USeinVisionComponent.

Shadowcast / lampshade model: each enabled FSeinVisionStamp runs its own per-bit pass over the cells it covers. Source eye Z = WorldPos.Z + EyeHeight (tall units see over short blockers, short units don’t). For shaped stamps (cones at building windows, etc.), the LOS source is the stamp’s apex — EntityPos + LocalOffset rotated by entity yaw — so a window-cone casts from the window, not the building center.

FFixedPoint EyeHeight · default FFixedPoint::FromInt(180)

Editable in defaults and on instances · Blueprint read-only

Eye height (world units) above the entity’s sim Z, used by the shadowcast lampshade test. Typical values: infantry ~180, vehicles ~250, aircraft high enough that nothing blocks them.

TArray<FSeinVisionStamp> VisionStamps

Editable in defaults and on instances · Blueprint read-only

Vision stamps emitted by this source. One radial stamp on the V bit is the standard case (omnidirectional sight). A building with firing windows can author one cone per window with bEnabled = false and turn each on while the window is manned. Thermal / stealth- detector units add additional stamps on custom layer bits.