pymel.core.uitypes.GradientControlNoAttr

Inheritance diagram of GradientControlNoAttr

class GradientControlNoAttr

class counterpart of mel function gradientControlNoAttr

This command creates a control for editing a ramp (2D control curve). The control attaches to an optionVar used to store and retrieve the encoded gradient control points stored in a string.

changeCommand(val=True, **kwargs)

Specifies a command to be executed whenever the value of this ramp is modified. This option should not be used when specifying an optionVar.

Derived from mel command maya.cmds.gradientControlNoAttr

currentKeyChanged(val=True, **kwargs)

Specifies a command to be executed whenever the selected key changes.

Derived from mel command maya.cmds.gradientControlNoAttr

dragCommand(val=True, **kwargs)

Specifies a command to be executed while the ramp is being modified. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.gradientControlNoAttr

getAsString(**kwargs)

Used to query and set the value of the ramp as a string of comma separated values

Derived from mel command maya.cmds.gradientControlNoAttr

getCurrentKey(**kwargs)

Returns the index of the currently selected key.

Derived from mel command maya.cmds.gradientControlNoAttr

getCurrentKeyColorValue(**kwargs)

Get or set the color of the currently selected key. Only useful if the ramp is set to be a color ramp.

Derived from mel command maya.cmds.gradientControlNoAttr

getCurrentKeyCurveValue(**kwargs)

Get or set the value of the currently selected key. Only useful if the ramp is set to be a curve ramp.

Derived from mel command maya.cmds.gradientControlNoAttr

getCurrentKeyInterpValue(**kwargs)

Get or set the interpolation value for the current key.

Derived from mel command maya.cmds.gradientControlNoAttr

getOptionVar(**kwargs)

Specifies the name of the option var used to store and retrieve the string value capturing the curve.

Derived from mel command maya.cmds.gradientControlNoAttr

getRampAsColor(**kwargs)

Sets whether the ramp should be viewed as a colour ramp or as a curve. Default is as a curve.

Derived from mel command maya.cmds.gradientControlNoAttr

getValueAtPoint(**kwargs)

Used during query to specify the point at which to query the curve.

Derived from mel command maya.cmds.gradientControlNoAttr

setAsString(val=True, **kwargs)

Used to query and set the value of the ramp as a string of comma separated values

Derived from mel command maya.cmds.gradientControlNoAttr

setCurrentKey(val=True, **kwargs)

Returns the index of the currently selected key.

Derived from mel command maya.cmds.gradientControlNoAttr

setCurrentKeyColorValue(val=True, **kwargs)

Get or set the color of the currently selected key. Only useful if the ramp is set to be a color ramp.

Derived from mel command maya.cmds.gradientControlNoAttr

setCurrentKeyCurveValue(val=True, **kwargs)

Get or set the value of the currently selected key. Only useful if the ramp is set to be a curve ramp.

Derived from mel command maya.cmds.gradientControlNoAttr

setCurrentKeyInterpValue(val=True, **kwargs)

Get or set the interpolation value for the current key.

Derived from mel command maya.cmds.gradientControlNoAttr

setOptionVar(val=True, **kwargs)

Specifies the name of the option var used to store and retrieve the string value capturing the curve.

Derived from mel command maya.cmds.gradientControlNoAttr

setRampAsColor(val=True, **kwargs)

Sets whether the ramp should be viewed as a colour ramp or as a curve. Default is as a curve.

Derived from mel command maya.cmds.gradientControlNoAttr

Previous topic

pymel.core.uitypes.GradientControl

Next topic

pymel.core.uitypes.GridLayout

Core

Core Modules

Other Modules

This Page