Repository navigation
API Interface AssetSource
github-actions[bot] edited this page Nov 28, 2026
·
3 revisions
Defined in: src/engine/scene/Assets.ts:19
get(path): unknown;Defined in: src/engine/scene/Assets.ts:22
The asset value for path by its kind (ADR 0254): parsed JSON for .json files, the text of text files, a URL otherwise.
string
unknown
has(path): boolean;Defined in: src/engine/scene/Assets.ts:20
string
boolean
paths?(): Iterable<string>;Defined in: src/engine/scene/Assets.ts:27
Every path the source holds, when it can list them (ADR 0356: string tables are found by name). A source without it still serves lookups; what it holds just isn't discovered.
Iterable<string>
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