Gradient GUI(CUSTOMGUI_GRADIENT) for Gradient data type. These are the settings:
GRADIENTPROPERTY_COLOR |
bool |
Color controls. |
GRADIENTPROPERTY_ALPHA |
bool |
Alpha controls |
GRADIENTPROPERTY_NOEDITCOLOR |
bool |
No color editing. |
This is what it looks like:
Definition
-
class c4d.gui.GradientCustomGui
Members
-
GradientCustomGui.SetGradient(data)
Sets the data.
Parameters: | data (Gradient) – The new Gradient data. |
Return type: | bool |
Returns: | True if successful, otherwise False. |
-
GradientCustomGui.GetGradient()
Get the data.
Return type: | Gradient |
Returns: | The new gradient data object. |