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__ () |
The DiscManip allows the user to rotate a disc in order to specify a rotation about an axis. This manipulator generates a single floating point value corresponding to the rotation. Method resolution order: - MFnDiscManip - MFnManip3D - OpenMaya.MFnTransform - OpenMaya.MFnDagNode - OpenMaya.MFnDependencyNode - OpenMaya.MFnBase - builtins.object
def OpenMayaUI.MFnDiscManip.__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.MFnDiscManip.angleIndex | ( | ) |
angleIndex() -> int Returns the index of the angle. The data type corresponding to this index is a double.
def OpenMayaUI.MFnDiscManip.axisIndex | ( | ) |
axisIndex() -> int Returns the index of the axis of the DiscManip. The data type corresponding to this index is MFnNumericData.k3Double.
def OpenMayaUI.MFnDiscManip.centerIndex | ( | ) |
centerIndex() -> int Returns the index of the center of the DiscManip. The data type corresponding to this index is MFnNumericData.k3Double.
def OpenMayaUI.MFnDiscManip.connectToAnglePlug | ( | ) |
connectToAnglePlug(directionPlug) -> self Connect to the angle plug. The data type corresponding to the anglePlug is a double. (Note that MFnUnitAttribute.kAngle is used to specify an angle attribute.) * anglePlug (MPlug) - the angle plug
def OpenMayaUI.MFnDiscManip.create | ( | ) |
create(manipName=None, angleName=None) -> MObject Creates a new DiscManip. This function set's object is set to be the new manipulator. This method should only be used to create a non-composite DiscManip. The name that appears in the feedback line is specified by the angleName argument. * manipName (string) - Name of the manip for UI purposes. * angleName (string) - Label for the angle value which appears in the feedback line.
def OpenMayaUI.MFnDiscManip.setAngle | ( | ) |
setAngle(angle) -> self Sets the angle of the DiscManip. * angle (MAngle) - the angle of the DiscManip
def OpenMayaUI.MFnDiscManip.setCenterPoint | ( | ) |
setCenterPoint(centerPoint) -> self Sets the center point of the DiscManip. * centerPoint (MPoint) - the center point of the DiscManip
def OpenMayaUI.MFnDiscManip.setNormal | ( | ) |
setNormal(normal) -> self Sets the normal of the DiscManip. * normal (MVector) - the normal of the DiscManip
def OpenMayaUI.MFnDiscManip.setRadius | ( | ) |
setRadius(radius) -> self Sets the radius of the DiscManip. * radius (float) - the radius of the DiscManip