SnapshotContributor
Defined in: packages/save/src/snapshot/types.ts:31
Plugin-supplied snapshot data that doesn’t fit the per-entity/component model. The renderer registers one of these for layer/scene/screen-scope effects.
Methods
Section titled “Methods”restore()
Section titled “restore()”restore(
data):void|Promise<void>
Defined in: packages/save/src/snapshot/types.ts:35
Apply the snapshot fragment back onto live state.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”void | Promise<void>
serialize()
Section titled “serialize()”serialize():
unknown
Defined in: packages/save/src/snapshot/types.ts:33
Build the snapshot fragment. Return undefined to omit the extra.
Returns
Section titled “Returns”unknown