ParameterState

The reader's state over a scene's parameters: the two maps a move can land in.

@internote/canvas-sdkInterface
On this page
import { ParameterState } from '@internote/canvas-sdk';

A plain control takes a value, and a swept one takes a displacement of the sweep's own time, so the two are held apart.

#Fields

held
Where the reader left each swept parameter they took hold of, as a position. It holds there over the sweep, and through a replay of the step: a control the reader has taken is theirs until they hand it back by pressing play or leaving the step. One they never touched has no entry, and a replay runs its sweep again from the start.
Record<string, number>
sweeps
How far the reader displaced each swept parameter, in milliseconds of its sweep.
Record<string, number>
valuesRequired
Where the reader put each plain parameter, as a value.
Record<string, ParameterValue>

Declared in packages/canvas-sdk/src/parameters/index.ts:631.

Last updated