Repository navigation
API Interface RuntimePluginContext
Defined in: src/plugins/runtimeContext.ts:38
readonly debugLink: object;Defined in: src/plugins/runtimeContext.ts:69
The debug link (ADR 0376): topic(name, load) registers a topic a build with debugging on serves to the editor and
the Studio. load is an import() of the topic's code, which only such a build loads (a release export holds none
of it). Removed again on deactivation.
topic(name, load): void;string
DebugTopicLoader
void
readonly plugins: PluginsView;Defined in: src/plugins/runtimeContext.ts:44
The other plugins, as this one sees them (ADR 0374). plugins.isActive(name) is read at activation: true when the
plugin is active for this host (and, for a named optional dependency, inside its version range), so the plugin
registers its integration code only then. It activates again when an optional dependency is turned on or off.
readonly take: object;Defined in: src/plugins/runtimeContext.ts:75
Takes (ADR 0348): source(name, load) registers a source of records a take writes beside audio's (record types
0x40..0x7e). load is an import() of the source's code, which only a take that starts loads. Removed again on
deactivation.
source(name, load): void;string
TakeSourceLoader
void
contribute<T>(point, value): void;Defined in: src/plugins/runtimeContext.ts:63
Add value to a contribution point another plugin owns (a physics backend); removed again on deactivation.
T
T
void
registerComponents(classes): void;Defined in: src/plugins/runtimeContext.ts:49
Claim Components for the plugin. They keep their decorators (@component); deactivating the plugin
unregisters them, so scene entries for them load as missing Components (ADR 0133).
readonly ComponentClass[]
void
registerSystems(defs): void;Defined in: src/plugins/runtimeContext.ts:51
Systems for the system catalog (ADR 0032); removed again when the plugin is deactivated.
readonly SystemDef[]
void
registerWorldService<L, I>(service): void;Defined in: src/plugins/runtimeContext.ts:59
A lazily loaded per-World subsystem (ADR 0135).
L
I
WorldServiceDef<L, I>
void
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