Files
workinf_Blender_Wasm/web/protocol/physics-commands.ts
mes123456 81113159dc
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
feat(web): continue source-backed implementation waves
2026-08-29 05:46:53 +08:00

10 lines
455 B
TypeScript

import type { PhysicsSimulationManifestIR } from "./physics-simulation";
import type { WebEngineEditCommand } from "./web-engine";
/** Typed constructor for bounded physics metadata commits to WebEngine Main. */
export const physicsCommands = Object.freeze({
setManifest(manifest: PhysicsSimulationManifestIR): Extract<WebEngineEditCommand, { type: "setPhysicsSimulation" }> {
return { type: "setPhysicsSimulation", manifest };
},
} as const);