Skip to main content

ConstantNumber

ConstantNumber

A constant number input. This allows the user to control a 4 bit constant output by using a single hexadecimal digit as input.


Constructor

public ConstantNumber

new ConstantNumber()

Constructs a constant number input object.


Properties

No publicly accessible properties on ConstantNumber


Methods

public setProp

setProp(key, val) => void

Description needed

Parameters

  •  key: stringDescription needed

  •  val: anyDescription needed

public getPropInfo

getPropInfo(key) => BasePropInfo & { type: "boolean"; } | BasePropInfo & { type: "button"; getText: (states: any[]) => string; getNewState: (states: any[]) => any; } | BasePropInfo & UnitInfo | BasePropInfo & { type: "string"; constraint?: RegExp; } | BasePropInfo & { type: "color"; } | BasePropInfo & { type: "string[]"; options: [string, string][]; } | BasePropInfo & { type: "number[]"; options: [string, number][]; } | BasePropInfo & { type: "veci" | "vecf"; min?: Vector; max?: Vector; step?: Vector; }

Description needed

Parameters

  •  key: stringDescription needed

Returns

public getDisplayName

getDisplayName() => string

Gets the display name for a Constant Number object.

Returns

  •   string – The display name "Constant Number".

Static Methods

No static methods for ConstantNumber