Skip to content

API Function registerPhysicsBackend

github-actions[bot] edited this page Nov 30, 2026 · 3 revisions

Function: registerPhysicsBackend()

function registerPhysicsBackend(registration): () => void;

Defined in: src/plugins/physics/runtime/backend.ts:389

Add a backend; returns the undo. Plugins contribute through their runtime context instead (context.contribute(PHYSICS_BACKENDS, …)), so deactivating the plugin removes it.

Parameters

registration

PhysicsBackendRegistration

Returns

() => void

Clone this wiki locally