Skip to content

1681-engine / index / SystemContext

Interface: SystemContext ​

Defined in: src/ecs/World.ts:51

Properties ​

alpha ​

ts
alpha: number;

Defined in: src/ecs/World.ts:58

In frame: the share of a step since the last fixed step (0–1), for interpolation. 0 in fixed.


dt ​

ts
dt: number;

Defined in: src/ecs/World.ts:54

Seconds this run covers: one step in fixed, the frame's length in frame.


now ​

ts
now: number;

Defined in: src/ecs/World.ts:56

performance.now() of the frame.


world ​

ts
world: World;

Defined in: src/ecs/World.ts:52

Released under the MIT License.