Repository navigation
API Interface SystemState
Defined in: src/engine/core/systemTypes.ts:36
What a system gets, one per system per World, passed to every hook (ADR 0679).
readonly dt: number;Defined in: src/engine/core/systemTypes.ts:42
The group's step: fixedDeltaTime in the fixed-step group, unscaled in initialization, deltaTime otherwise.
enabled: boolean;Defined in: src/engine/core/systemTypes.ts:51
A disabled system skips onUpdate (it stays created); a disabled group skips everything inside it.
readonly id: string;Defined in: src/engine/core/systemTypes.ts:38
The system's id.
readonly time: TimeState;Defined in: src/engine/core/systemTypes.ts:40
readonly world: World;Defined in: src/engine/core/systemTypes.ts:39
query(...terms): Query;Defined in: src/engine/core/systemTypes.ts:47
A query over these terms, cached: the same terms (in the same order) give the same Query. Making queries in
onCreate and keeping them allocates nothing per frame.
...QueryTerm[]
single<V>(def): V | null;Defined in: src/engine/core/systemTypes.ts:49
The view of the first node that has def, or null: a singleton's state.
V = Record<string, number>
V | null
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference