Skip to content

T Sein Component Read View

C++ type · TSeinComponentReadView

#include "Simulation/SeinComponentQuery.h"

C++ only. A typed read-only view over one component type’s storage, built once per tick so a system can read components by slot instead of looking each entity up. It is usable from presentation and observer callbacks.

C++ members (6)
  • bool IsBound() const;
  • int32 Num() const;
  • const TBitArray<>& LiveBits() const;
  • int32 GenerationAt(int32 Slot) const;
  • const T* GetConstAt(int32 Slot) const; Payload at a live slot the caller has already validated (e.g. the query driver slot). Nullptr when the slot is not live.
  • const T* GetConstAt(int32 Slot, FSeinEntityHandle Handle) const; Generation-validated optional join: payload iff this storage holds the exact entity (slot AND generation). The slot-only overload above is for the driver storage, whose generation the query already validated.