Evening

Would any of you happen to know how to add a gradient (siControlGradient)
item to a PPG layout?

With any of the standard data types it is pretty straight forward:
parameter, label, UI type.
A color item is given its own method, where instead of pointing to a single
parameter you point to float parameter representing red and it handles the
rest.

But how exactly does this function with gradients? By definition it cannot
be linked to only a single parameter, but there is no special method for it
like with color.

The docs would suggest that it is possible, but provides no information as
to how. Blindly flinging arguments at it has gotten me nowhere.
http://download.autodesk.com/global/docs/softimage2014/en_us/sdkguide/si_om/siPPGControlType.html

Cheers

Reply via email to