Skip to content

ParamKind beta ​

TypeAlias of @v12-engine/client

ts
export type ParamKind = 'number' | 'text' | 'toggle' | 'choice' | 'point' | 'points' | 'unit' | 'region' | 'camera' | 'data';

What kind of thing a param is: a number, words, on or off, one of a few, a point of the map, a line of points (a road), a unit, a region, a camera of the map by its name, or any plain data. The editor's Inspector draws a field for each; the runtime checks what it is handed against it