< Previous | Contents | Next >
The SliderControl presents a simple slider, which returns a Number value. To add a SliderControl, set the INPID_InputControl attribute of the AddInput function to the string "SliderControl".
Name | Type : Description |
SLCS_LowName | string : An optional left justified label that overrides the usual label. Used in conjunction with SLCS_HighName |
SLCS_HighName | string : An optional right justified label displayed in conjunction with SLCS_LowName. See the Subtractive - Additive slider in the Merge tool for an example of the effect of these attributes. |
function Create()
InGain = self:AddInput("Gain", "Gain", { LINKID_DataType = "Number", INPID_InputControl = "SliderControl", INP_Default = 1.0,
})