c4d.gui.GradientCustomGui

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:

../../../../_images/Gradient.png

Definition

class c4d.gui.GradientCustomGui

Inheritance

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.

Table Of Contents