Skip to content

Sein Actor

Class · ASeinActor : AActor

#include "Actor/SeinActor.h"

can be subclassed in Blueprint

Base actor class for entities backed by the deterministic simulation. Designers inherit from this to create unit types, buildings, projectiles, etc. Provides Blueprint-friendly interface for simulation interaction and visual event callbacks (damage, abilities, effects, death).

Get the entity handle this actor represents.

FSeinEntityHandle GetEntityHandle() const;

Check if this actor has a valid simulation entity.

bool HasValidEntity() const;

Implement in Blueprint

Called when entity is initialized. Override in Blueprints for custom setup.

void ReceiveEntityInitialized();

Implement in Blueprint

Called when entity is destroyed in simulation. Override for cleanup / death effects.

void ReceiveEntityDestroyed();

Implement in Blueprint

Called when this entity takes damage.

void ReceiveDamageApplied(FFixedPoint Amount, FSeinEntityHandle Source, FGameplayTag DamageType);

Implement in Blueprint

Called when this entity is healed.

void ReceiveHealApplied(FFixedPoint Amount, FSeinEntityHandle Source, FGameplayTag HealType);

Implement in Blueprint

Called when this entity lands a kill on another.

void ReceiveKill(FSeinEntityHandle Killed);

Implement in Blueprint

Called when an ability is activated on this entity

void ReceiveAbilityActivated(FGameplayTag AbilityTag);

Implement in Blueprint

Called when an ability ends on this entity

void ReceiveAbilityEnded(FGameplayTag AbilityTag);

Implement in Blueprint

Called when a gameplay effect is applied to this entity

void ReceiveEffectApplied(FGameplayTag EffectTag);

Implement in Blueprint

Called when a gameplay effect is removed from this entity

void ReceiveEffectRemoved(FGameplayTag EffectTag);

Implement in Blueprint

Called when effects change the value of any of this entity’s fields, including when one reaches a unit as it spawns. Read the new values with the Get Data nodes, for example to swap a weapon model an Override changed or to rescale a health bar whose maximum changed.

void ReceiveAttributesChanged();

Implement in Blueprint

Called when this entity dies

void ReceiveDeath();

int32 PlayerSlot · default 0 · min 0, max 16

Editable on placed instances · Blueprint read-only

The player who owns this actor when it is placed in the level: a match slot starting at 1, or 0 for neutral. Set it per placed instance, not on the Blueprint class. Placed actors owned by a slot nobody plays are hidden.

FFixedTransform PlacedSimTransform

Read-only in Details

This placed actor’s world transform (location, rotation and scale) baked to fixed point in the editor. The match spawns the entity from it, so every peer reads the same saved bits instead of converting the float transform. It follows the actor while it is edited and is repaired when the map opens or saves.

bool bSimTransformBaked · default false

Read-only in Details

True once PlacedSimTransform is baked. A placed actor without it fails to spawn; open and save the map to bake it.

TObjectPtr<USeinEntityBridgeComponent> EntityBridge · default CreateDefaultSubobject<USeinEntityBridgeComponent>(TEXT("EntityBridge"))

Read-only in Details · Blueprint read-only

The SeinARTS Entity Bridge component. It links this actor to its simulation entity and holds the data baked from the actor’s Sein components.

C++ members (2)
  • void InitializeWithEntity(FSeinEntityHandle Handle); Initialize this actor with a simulation entity. Called automatically when spawned via USeinWorldSubsystem::SpawnEntity.
  • USeinEntityBridgeComponent* GetEntityBridge() const; Direct native access to this actor’s single sim/render bridge component. Avoids repeated component discovery in framework presentation systems.