c4d.gui.GradientCustomGui

Gradient GUI(CUSTOMGUI_GRADIENT) for GradientData 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

Inheritance

Members

GradientCustomGui.SetGradient(data)

Sets the data.

Parameters: data (GradientData) – The new Gradient data.
Return type: bool
Returns: True if successful, otherwise False.
GradientCustomGui.GetGradient()

Get the data.

Return type: GradientData
Returns: The new gradient data object.

Table Of Contents