Repository navigation
API Interface Rows
Defined in: src/engine/core/rows.ts:11
A system query's rows. Iterate it row by row, or read column()s at indices for speed.
-
Iterable<Row>
readonly count: number;Defined in: src/engine/core/rows.ts:18
How many rows matched.
readonly indices: Int32Array;Defined in: src/engine/core/rows.ts:16
The rows matched when the run started, as indices into this run's columns (each is the node's slot in the World). Valid during this run only: a slot is reused after its node is destroyed.
[iterator](): Iterator<Row, any, any>;Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:49
Iterator<Row, any, any>
Iterable.[iterator]
column<S>(def): Columns<S>;Defined in: src/engine/core/rows.ts:24
A data component's fields, as the typed arrays storing them, indexed by indices. Writes
change the components. def must be one of the query's terms. Valid during this run: adding
the component to more nodes, or creating nodes, can replace the arrays, so fetch it again after.
S extends Schema
Columns<S>
node(index): GameObject;Defined in: src/engine/core/rows.ts:26
The node at an index.
number
transform(index): Transform;Defined in: src/engine/core/rows.ts:28
The node's Transform at an index (the query must include Transform, or the node have one).
number
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