Python API 2.0 Reference
|
Static Public Member Functions | |
def | __new__ () |
Static Public Member Functions inherited from OpenMayaUI.MFnManip3D | |
def | __new__ () |
def | deleteManipulator () |
def | drawPlaneHandles () |
def | globalSize () |
def | handleSize () |
def | lineSize () |
def | setDrawPlaneHandles () |
def | setGlobalSize () |
def | setHandleSize () |
def | setLineSize () |
Static Public Member Functions inherited from OpenMaya.MFnTransform | |
def | __new__ () |
Static Public Member Functions inherited from OpenMaya.MFnDagNode | |
def | __new__ () |
Static Public Member Functions inherited from OpenMaya.MFnDependencyNode | |
def | __new__ () |
def | allocateFlag () |
def | classification () |
def | deallocateAllFlags () |
def | deallocateFlag () |
Static Public Member Functions inherited from OpenMaya.MFnBase | |
def | __new__ () |
Properties | |
direction = property(...) | |
length = property(...) | |
startPoint = property(...) | |
toggle = property(...) | |
Properties inherited from OpenMayaUI.MFnManip3D | |
isOptimizePlaybackOn = property(...) | |
isVisible = property(...) | |
manipScale = property(...) | |
Properties inherited from OpenMaya.MFnDagNode | |
boundingBox = property(...) | |
inModel = property(...) | |
inUnderWorld = property(...) | |
isInstanceable = property(...) | |
isIntermediateObject = property(...) | |
objectColor = property(...) | |
objectColorRGB = property(...) | |
objectColorType = property(...) | |
useObjectColor = property(...) | |
Properties inherited from OpenMaya.MFnDependencyNode | |
isDefaultNode = property(...) | |
isFromReferencedFile = property(...) | |
isLocked = property(...) | |
isShared = property(...) | |
namespace = property(...) | |
pluginName = property(...) | |
typeId = property(...) | |
typeName = property(...) | |
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 - builtins.object
def OpenMayaUI.MFnToggleManip.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
def 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
def 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.
def OpenMayaUI.MFnToggleManip.directionIndex | ( | ) |
directionIndex() -> int Returns the index of the direction. The data type corresponding to this index is MFnNumericData.k3Double.
def OpenMayaUI.MFnToggleManip.lengthIndex | ( | ) |
lengthIndex() -> int Returns the index of the length of the ToggleManip. The data type corresponding to this index is a double.
def 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.
def 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.