Skip to content

Sein Command Buffer

Struct · FSeinCommandBuffer

#include "Input/SeinCommand.h"

deterministic: safe in simulation code

Collects commands for a single sim tick. Consumed and cleared each frame during the CommandProcessing phase.

C++ members (5)
  • void AddCommand(const FSeinCommand& Cmd); Enqueue a command.
  • void Clear(); Remove all buffered commands.
  • int32 Num() const; Number of buffered commands.
  • const TArray<FSeinCommand>& GetCommands() const; Read-only access to the command array.
  • TArray<FSeinCommand> DrainCommands(); Move all buffered commands out, leaving an empty reusable buffer.