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 DirectionManip allows the user to specify a direction, as defined by the vector from the start point to the manipulator position. Method resolution order: - MFnDirectionManip - MFnManip3D - OpenMaya.MFnTransform - OpenMaya.MFnDagNode - OpenMaya.MFnDependencyNode - OpenMaya.MFnBase - builtins.object
def OpenMayaUI.MFnDirectionManip.__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.MFnDirectionManip.connectToDirectionPlug | ( | ) |
connectToDirectionPlug(directionPlug) -> self Connect to the direction plug. The data type corresponding to the directionPlug is MFnNumericData.k3Double. * directionPlug (MPlug) - the direction plug
def OpenMayaUI.MFnDirectionManip.create | ( | ) |
create(manipName=None, directionName=None) -> MObject Creates a new DirectionManip. This function set's object is set to be the new manipulator. This method should only be used to create a non-composite DirectionManip. The name that appears in the feedback line is specified by the directionName argument. * manipName (string) - Name of the manip for UI purposes. * directionName (string) - Label for the direction value which appears in the feedback line.
def OpenMayaUI.MFnDirectionManip.directionIndex | ( | ) |
directionIndex() -> int Returns the index of the direction. The data type corresponding to this index is MFnNumericData.k3Double.
def OpenMayaUI.MFnDirectionManip.endPointIndex | ( | ) |
endPointIndex() -> int Returns the index of the end point of the DirectionManip. The data type corresponding to this index is MFnNumericData.k3Double.
def OpenMayaUI.MFnDirectionManip.setDirection | ( | ) |
setDirection(direction) -> self Sets the direction of the DirectionManip. * direction (MVector) - the direction of the DirectionManip
def OpenMayaUI.MFnDirectionManip.setDrawStart | ( | ) |
setDrawStart(bool) -> self Sets whether or not to draw the start of the DirectionManip. The start of the DirectionManip is indicated by a grey dot. By default the start is not drawn.
def OpenMayaUI.MFnDirectionManip.setNormalizeDirection | ( | ) |
setNormalizeDirection(bool) -> self Sets whether or not to the direction should be normalized. By default the direction is normalized.
def OpenMayaUI.MFnDirectionManip.setStartPoint | ( | ) |
setStartPoint(startPoint) -> self Sets the start point of the DirectionManip. * startPoint (MPoint) - the start point of the DirectionManip
def OpenMayaUI.MFnDirectionManip.startPointIndex | ( | ) |
startPointIndex() -> int Returns the index of the start point of the DirectionManip. The data type corresponding to this index is MFnNumericData.k3Double.