SeinARTS Component Library
Class · USeinComponentBPFL : UBlueprintFunctionLibrary
#include "Lib/SeinComponentBPFL.h"
deterministic: safe in simulation code
Blueprint nodes that read and write an entity’s component data by struct type. Reads work anywhere; writes are accepted only from simulation logic.
Blueprint nodes
Section titled “Blueprint nodes”Get Component Data
Section titled “Get Component Data”Read a component’s data as FInstancedStruct, keyed by struct type. Returns false and logs a warning on invalid handle / missing component.
static bool SeinGetComponentData(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, UScriptStruct* StructType, FInstancedStruct& OutData);Get Components
Section titled “Get Components”List every component on the entity as FInstancedStruct. Iterates every registered storage. Useful for debug tooling and generic designer introspection.
static TArray<FInstancedStruct> SeinGetComponents(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle);Set Component
Section titled “Set Component”Overwrite a whole component the entity already has. New Data must be of Struct Type. Prefer the typed Set node for a known component; this one suits components picked at runtime. A field that effects modify takes the value written as its new base, and the effects apply on top of it again.
static bool SeinSetComponent(const UObject* WorldContextObject, FSeinEntityHandle EntityHandle, UScriptStruct* StructType, const FInstancedStruct& NewData);