pymel.core.uitypes.GradientControlNoAttr

digraph inheritance03257045c9 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "GradientControlNoAttr" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.core.uitypes.GradientControlNoAttr",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "PyUI" -> "GradientControlNoAttr" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "PyUI" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.uitypes.PyUI.html#pymel.core.uitypes.PyUI",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
}

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