KROYSDOCS
HomeWhat's newv0.1.0
C/C++ SDK / C ABI · Runtime (system graph) / KroysTickArgs

KroysTickArgs

Passed to a system's Tick.

Kindstruct
Headerkroys/kroys_plugin.h
Members6
DECLARATION

Declaration

Declared in kroys/kroys_plugin.h.

kroys_plugin.h
typedef struct KroysTickArgs { ... } KroysTickArgs;
REFERENCE

Members

Fields
#uint32_t structSize;

Size of this struct as the writer compiled it (sizeof); the reader uses it to detect members appended by later minor versions.

field
#uint32_t phase;

The KROYS_PHASE_* being run.

field
#KroysWorld world;

The game world (pass it to the scene functions).

field
#float deltaSeconds;

frame delta, or the fixed delta in FixedUpdate

field
#float reserved;

Padding reserved for later use; leave it 0.

field
#double simulationTimeSeconds;

Simulation time of the world, in seconds.

field
Members
uint32_t structSize;
uint32_t phase;
KroysWorld world;
float deltaSeconds;
float reserved;
double simulationTimeSeconds;

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.