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 | |
maxStates = 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 StateManip allows the user to switch between multiple states. It is drawn as a circle with a notch. Each click on the circle increments the value of the state (modulo the maximum number of states). This manipulator generates an integer value corresponding to the state of the manip. Method resolution order: - MFnStateManip - MFnManip3D - OpenMaya.MFnTransform - OpenMaya.MFnDagNode - OpenMaya.MFnDependencyNode - OpenMaya.MFnBase - builtins.object
def OpenMayaUI.MFnStateManip.__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.MFnStateManip.connectToStatePlug | ( | ) |
connectToStatePlug(statePlug) -> self Connect to the state plug. The data type corresponding to the statePlug is a int integer. * statePlug (MPlug) - the state plug
def OpenMayaUI.MFnStateManip.create | ( | ) |
create(manipName=None, stateName=None) -> MObject Creates a new StateManip. This function set's object is set to be the new manipulator. This method should only be used to create a non-composite StateManip. The name that appears in the feedback line is specified by the stateName argument. * manipName (string) - Name of the manip for UI purposes. * stateName (string) - Label for the state value which appears in the feedback line.
def OpenMayaUI.MFnStateManip.positionIndex | ( | ) |
positionIndex() -> int Returns the index of the position of the StateManip. The data type corresponding to this index is MFnNumericData.k3Double.
def OpenMayaUI.MFnStateManip.setInitialState | ( | ) |
setInitialState(initialState) -> self Sets the initial state of the StateManip. * initialState (int) - initial state of the StateManip
def OpenMayaUI.MFnStateManip.state | ( | ) |
state() -> int Returns the current state.
def OpenMayaUI.MFnStateManip.stateIndex | ( | ) |
stateIndex() -> int Returns the index of the state. The data type corresponding to this index is a int integer.
|
static |
The maximum number of states that the StateManip will have. The default number of maximum states is 4.