Skip to content

Intermact API Reference / @intermact/core / applyPatch3D

Function: applyPatch3D()

applyPatch3D(state, changes): RuntimeState3D

Defined in: packages/core/src/runtime/state.ts:244

Apply an immutable patch to a 3D runtime state (structural sharing).

Parameters

state

RuntimeState3D

changes

RuntimeState3DPatch

Returns

RuntimeState3D

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)