Gradients are intended for use with shader PPGs.
I’m tempted to say there was work done in the 2012 release to make them available for custom property/operator PPGs, but I cannot say for sure. I do know there is a bug with some of the scripting languages for defining a gradient as siControlGradient (or whatever the enum is) doesn’t work. You have to use the string ‘gradient’ instead. Same issue applies to texture projection widget for choosing which texture projection to use.
Like with any other PPG Layout control, the parameter(s) the control is expected to drive must exist before it’ll appear on the PPG layout. The gradient control expects at least 3 different scalars before it’ll draw. One for position (_pos), another for the interpolant (_mid), and one for the value driven by the other two. The gradient can accept up to 8 scalars for each.
Matt
isn't the SDK documentation awesome.