< Previous | Contents | Next >
Gradient Color
Gradient controls is a 1D array of color values that are used for color ramps. This has the color controls and picker built in.
-- Gradient Color control has a 1D color ramp. Default Gradient is 2 colors black to white. Use OnAddToFlow to set default colors
InGradient = self:AddInput("Gradient", "Gradient", { --UI Label, Internal Ref LINKID_DataType = "Gradient", -- Returns a Gradient 1D LUT INPID_InputControl = "GradientControl", -- Type of Control
INP_DelayDefault = true,
})
InInterpolation = self:AddInput("Gradient Method", "GradientMethod", { LINKID_DataType = "FuID", -- Returns a FuID to the Color system INPID_InputControl = "MultiButtonIDControl", -- Type of Control
{ MBTNC_AddButton = "RGB", MBTNCID_AddID = "RGB", },