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 - __builtin__.object
OpenMayaUI.MFnDirectionManip.__init__ | ( | ) |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
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
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.
OpenMayaUI.MFnDirectionManip.directionIndex | ( | ) |
directionIndex() -> int Returns the index of the direction. The data type corresponding to this index is MFnNumericData.k3Double.
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.
OpenMayaUI.MFnDirectionManip.setDirection | ( | ) |
setDirection(direction) -> self Sets the direction of the DirectionManip. * direction (MVector) - the direction of the DirectionManip
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.
OpenMayaUI.MFnDirectionManip.setNormalizeDirection | ( | ) |
setNormalizeDirection(bool) -> self Sets whether or not to the direction should be normalized. By default the direction is normalized.
OpenMayaUI.MFnDirectionManip.setStartPoint | ( | ) |
setStartPoint(startPoint) -> self Sets the start point of the DirectionManip. * startPoint (MPoint) - the start point of the DirectionManip
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.