Skip to content

T Sein Component View

C++ type · TSeinComponentView

#include "Simulation/SeinComponentQuery.h"

C++ only. The mutable counterpart of the read view: reads and writes one component type by slot. Build it each tick, and do not add or remove components of that type while iterating.

C++ members (9)
  • bool IsBound() const;
  • int32 Num() const;
  • const TBitArray<>& LiveBits() const;
  • int32 GenerationAt(int32 Slot) const;
  • const T* GetConstAt(int32 Slot) const; Read access at a validated live slot — no revision bookkeeping.
  • const T* GetConstAt(int32 Slot, FSeinEntityHandle Handle) const; Generation-validated optional-join read (see TSeinComponentReadView).
  • T* GetMutableAt(int32 Slot); Mutable access with the conservative revision touch (== GetComponentMutable semantics).
  • T* GetDeferredAt(int32 Slot); Deferred-revision mutable access for disjoint-write kernels (== GetComponentForDeferredMutation semantics). Pair every actual write with CommitDeferred on the serial spine.
  • void CommitDeferred(FSeinEntityHandle Handle);