Properties | |
direction | |
length | |
startPoint | |
toggle | |
![]() | |
isOptimizePlaybackOn | |
isVisible | |
manipScale | |
![]() | |
boundingBox | |
inModel | |
inUnderWorld | |
isInstanceable | |
isIntermediateObject | |
objectColor | |
objectColorRGB | |
objectColorType | |
useObjectColor | |
![]() | |
isDefaultNode | |
isFromReferencedFile | |
isLocked | |
isShared | |
namespace | |
pluginName | |
typeId | |
typeName | |
The ToggleManip allows the user to switch between two modes or some on/off state. It is drawn as a circle with or without a dot. When the mode is on, the dot is drawn in the circle; when the mode is off, the circle is drawn without the dot. This manipulator generates a boolean value corresponding to whether or not the mode is on or off. Method resolution order: - MFnToggleManip - MFnManip3D - OpenMaya.MFnTransform - OpenMaya.MFnDagNode - OpenMaya.MFnDependencyNode - OpenMaya.MFnBase - __builtin__.object
OpenMayaUI.MFnToggleManip.__init__ | ( | ) |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
OpenMayaUI.MFnToggleManip.connectToTogglePlug | ( | ) |
connectToTogglePlug(togglePlug) -> self Connect to the toggle plug. The data type corresponding to the togglePlug is a boolean value. * togglePlug (MPlug) - the toggle plug
OpenMayaUI.MFnToggleManip.create | ( | ) |
create(manipName=None, toggleName=None) -> MObject Creates a new ToggleManip. This function set's object is set to be the new manipulator. This method should only be used to create a non-composite ToggleManip. The name that appears in the feedback line is specified by the toggleName argument. * manipName (string) - Name of the manip for UI purposes. * toggleName (string) - Label for the toggle value which appears in the feedback line.
OpenMayaUI.MFnToggleManip.directionIndex | ( | ) |
directionIndex() -> int Returns the index of the direction. The data type corresponding to this index is MFnNumericData.k3Double.
OpenMayaUI.MFnToggleManip.lengthIndex | ( | ) |
lengthIndex() -> int Returns the index of the length of the ToggleManip. The data type corresponding to this index is a double.
OpenMayaUI.MFnToggleManip.startPointIndex | ( | ) |
startPointIndex() -> int Returns the index of the start point of the ToggleManip. The data type corresponding to this index is MFnNumericData.k3Double.
OpenMayaUI.MFnToggleManip.toggleIndex | ( | ) |
toggleIndex() -> int Returns the index of the toggle of the ToggleManip. The data type corresponding to this index is a boolean.
|
static |
The direction of the ToggleManip.
|
static |
The length of the ToggleManip.
|
static |
The start point of the ToggleManip.
|
static |
The toggle of the ToggleManip.