Parameter
One parameter, resolved: what it ranges over, how it reads, and what moves it. What ctx.parameters.all lists.
@internote/canvas-sdkOn this page
import { Parameter } from '@internote/canvas-sdk';#Fields
columnThe column it runs over, when
column: bound one. A mark's slice: matches against it.unknowndeclaredfalse for a free letter nobody declared, which still gets a slider.booleandiscreteWhether it stands on one stop at a time rather than moving through the gaps. Always true for a
selector, which has nothing between its stops to stand in.booleaninitialThe position it starts at: the author's
default:, else the first stop.numberkindWhat the values are, for the readout:
null where they are plain numbers and a decimal is the honest reading, name where they are the data's own words.numberdatemonthweekdayhourweeknamelabelThe author's
name: as inline content, when they gave one.unknownmaxThe top of its position range. The last index, for a categorical parameter.
numberminThe bottom of its position range. 0 for a categorical parameter.
numbernamesIts stops as names, when they are names, parallel to
stops so that position i reads as names[i]. null for every numeric parameter.string[] | nullnodeThe control node it was read from.
CompiledNodeparameterThe name it occupies in the scene's parameter map: a letter, or a word.
stringstepThe distance between stops: the data's own spacing unless told otherwise, and 1 when categorical.
numberstopsThe positions it may stand on, ascending.
number[]sweepThe scene's sweep of it, when it is a cue control.
ParameterSweep | nullDeclared in packages/canvas-sdk/src/parameters/index.ts:79.