input
- InputParameter
- Parameter
- Functions
- boolean(id :
InputParameterId
, default :InputParameterBooleanDefault
, name :InputParameterName``?
, description :InputParameterDescription``?
) - integer(id :
InputParameterId
, default :InputParameterIntegerDefault
, range :InputParameterIntegerRange``?
, name :InputParameterName``?
, description :InputParameterDescription``?
) - number(id :
InputParameterId
, default :InputParameterNumberDefault
, range :InputParameterNumberRange``?
, name :InputParameterName``?
, description :InputParameterDescription``?
) - enum(id :
InputParameterId
, default :InputParameterEnumDefault
, values :string
[], name :InputParameterName``?
, description :InputParameterDescription``?
)
- boolean(id :
- Aliases
- Functions
InputParameter
Opaque input parameter user data. Construct new input parameters via the
parameter.XXX(...)
functions.
Parameter
Contains functions to construct new input parameters. Input parameter values can be accessed via functionn
contexts
in pattern, gate and emitter functions or generators.
Functions
boolean(id : InputParameterId
, default : InputParameterBooleanDefault
, name : InputParameterName
?
, description : InputParameterDescription
?
)
Creates an InputParameter with "boolean" Lua type with the given default value and other optional properties.
integer(id : InputParameterId
, default : InputParameterIntegerDefault
, range : InputParameterIntegerRange
?
, name : InputParameterName
?
, description : InputParameterDescription
?
)
Creates an InputParameter with "integer" Lua type with the given default value and other optional properties.
number(id : InputParameterId
, default : InputParameterNumberDefault
, range : InputParameterNumberRange
?
, name : InputParameterName
?
, description : InputParameterDescription
?
)
Creates an InputParameter with "number" Lua type with the given default value and other optional properties.
enum(id : InputParameterId
, default : InputParameterEnumDefault
, values : string
[], name : InputParameterName
?
, description : InputParameterDescription
?
)
Creates an InputParameter with a "string" Lua type with the given default value, set of valid values to choose from and other optional properties.
Aliases
InputParameterBooleanDefault
Default boolean value.
InputParameterDescription
Optional long description of the parameter describing what the parameter does.
InputParameterEnumDefault
Default string value. Must be a valid string within the specified value set.
InputParameterId
Unique id of the parameter. The id will be used in the
input
context table as key.
InputParameterIntegerDefault
Default integer value. Must be in the specified value range.
InputParameterIntegerRange
Optional value range. When undefined (0.0 - 1.0)
InputParameterName
Optional name of the parameter as displayed to the user. When undefined, the id is used.
InputParameterNumberDefault
Default number value. Must be in the specified value range.
InputParameterNumberRange
Optional value range. When undefined (0 - 100)