Repository navigation
API Type PhysicsBackendRegistration
github-actions[bot] edited this page Nov 30, 2026
·
3 revisions
type PhysicsBackendRegistration =
| {
dimension: "2d";
id: string;
title?: string;
load(): Promise<PhysicsBackend2D>;
prefetch?(): Promise<unknown>;
}
| {
dimension: "3d";
id: string;
title?: string;
load(): Promise<PhysicsBackend3D>;
prefetch?(): Promise<unknown>;
};Defined in: src/plugins/physics/runtime/backend.ts:377
A backend a plugin contributes. load is a dynamic import, so the backend (and its WebAssembly) loads only when a
World needs it. prefetch, if given, fetches that code without starting it (the editor calls it once idle, ADR 0146).
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