MCPcopy
hub / github.com/midrender/revideo / setVariables

Method setVariables

packages/core/src/app/Player.ts:301–305  ·  view source on GitHub ↗
(variables: Record<string, unknown>)

Source from the content-addressed store, hash-verified

299 }
300
301 public setVariables(variables: Record<string, unknown>) {
302 for (const scene of this.playback.onScenesRecalculated.current) {
303 scene.variables.updateSignals(variables);
304 }
305 }
306
307 /**
308 * Activate the player.

Callers 4

updateSourceMethod · 0.95
updateProjectMethod · 0.95

Calls 1

updateSignalsMethod · 0.80

Tested by

no test coverage detected