Skip to content

Sein Entity Binding Component

Class · USeinEntityBindingComponent : UActorComponent

#include "Components/ActorComponents/SeinEntityBindingComponent.h"

can be subclassed in Blueprint · can be added from the Components panel

Entity context for any actor. An actor that presents an entity binds to itself; other actors are bound explicitly by their creator.

Bind to an actor that presents an entity, or pass None to clear the context. Safe before BeginPlay and for pooled visuals.

void BindToEntityActor(AActor* Actor);

Current living entity. An unbound or destroyed entity returns an invalid handle.

FSeinEntityHandle GetEntityHandle() const;

Actor that represents the bound entity. This does not depend on attachment hierarchy.

AActor* GetEntityActor() const;

Re-read current entity data. Also called on initial binding and snapshot restoration, even when phase is unchanged.

void RefreshEntityBinding();

Overridable in Blueprint, with a native default

Update visuals from current data, including initial binding, unbinding and save restoration. Default does nothing.

void RefreshPresentation();

FSeinEntityBindingChanged OnEntityBindingChanged · passes FSeinEntityHandle Entity

Context became ready, changed, or was cleared. Invalid Entity means release entity-specific UI data.

FSeinEntityPresentationRefresh OnPresentationRefresh

Refresh presentation from current authoritative data. This is not a replay of gameplay transitions.

FSeinBoundVisualEvent OnBoundVisualEvent · passes FSeinVisualEvent Event

Ordered visual notifications for the bound entity. These are presentation callbacks, not simulation commands.

void HandleBoundVisualEvent(const FSeinVisualEvent& Event);

Native presentation adapters may consume ordered events before forwarding them to Blueprint listeners.