Sein Actor Component
Class · USeinActorComponent : UActorComponent
#include "Authoring/SeinActorComponent.h"
abstract: use a subclass · can be subclassed in Blueprint
A data-only Sein component: its payload is baked into the simulation entity when the actor spawns, and nothing else on it runs. Add subclasses to a unit Blueprint like any component; placed-actor and PIE edits use Unreal’s own component semantics. The entity bridge bakes the enabled components into its Component Data. Presentation components derive from plain UActorComponent instead.
Properties
Section titled “Properties”Injection Enabled
Section titled “Injection Enabled”bool bInjectionEnabled · default true
Editable in defaults and on instances
Include this component’s payload at spawn injection. Uncheck on a placed instance for the native “this unit doesn’t carry X” gesture — Unreal has no per-instance component removal, so this is the supported substitute.
Data Struct
Section titled “Data Struct”TObjectPtr<UUserDefinedStruct> PayloadStruct
Read-only in Details
Blueprint-authored subclasses: the payload struct auto-synced from the Blueprint’s variables on compile (field identity is rename-stable via source-variable GUID stamps). Native subclasses ignore this — they override GetPayloadStruct with their embedded struct’s type.
C++ members (2)
const UScriptStruct* GetPayloadStruct() const;The struct type this component bakes into ComponentData, or null when unresolvable (BP subclass whose payload has not synced yet).bool WritePayload(FInstancedStruct& Out) const;Fill Out with this component’s current values as one payload-struct instance. Base implementation covers Blueprint subclasses: initialize the paired payload struct, then copy same-named, same-typed properties from this component instance onto the struct’s fields (the sync keeps names and types mirrored). Native subclasses override with a direct struct copy.