Contents

struct

SushiEngine::Simulation::TickContext

What a per-tick behavior hook is told about the step it is running on.

Declared in
engine/world/simulation/include/SushiEngine/simulation/entity_types.hpp

Handed to IEntityBehavior::on_update by const reference from inside the fixed step, built once per step and never stored. It carries the tick's input rather than letting a hook reach for a device or a clock of its own, which is what keeps a behavior on the fixed cadence both hosts share.

Properties

input

This tick's reduced input.

delta_seconds

The fixed step, in seconds.

tick_index

Steps completed since begin_play().

driven_entity

The entity FrameInput::driven_entity names, or NULL_ENTITY.