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 | |
isDrawAxesOn = property(...) | |
isKeyframeAllOn = property(...) | |
isSnapModeOn = 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 FreePointTriadManip provides a moveable point, which can be moved anywhere, and has axes for constrained x, y, and z movement and obeys grid snapping, point snapping, and curve snapping. The FreePointTriadManip generates the 3D position of the moveable point. It is useful for specifying the position of an object in space. Note that only the MFnNumericData::k3Double data type is supportedwhen connecting to a pointPlug via connectToPointPlug. Method resolution order: - MFnFreePointTriadManip - MFnManip3D - OpenMaya.MFnTransform - OpenMaya.MFnDagNode - OpenMaya.MFnDependencyNode - OpenMaya.MFnBase - builtins.object
def OpenMayaUI.MFnFreePointTriadManip.__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.MFnFreePointTriadManip.connectToPointPlug | ( | ) |
connectToPointPlug(pointPlug) -> self Connect to the point plug. The data type corresponding to the pointPlug is MFnNumericData.k3Double. * pointPlug (MPlug) - the point plug
def OpenMayaUI.MFnFreePointTriadManip.create | ( | ) |
create(manipName=None, pointName=None) -> MObject Creates a new FreePointTriadManip. This function set's object is set to be the new manipulator. This method should only be used to create a non-composite FreePointTriadManip. The name that appears in the feedback line is specified by the pointName argument. * manipName (string) - Name of the manip for UI purposes. * pointName (string) - Label for the position value which appears in the feedback line.
def OpenMayaUI.MFnFreePointTriadManip.pointIndex | ( | ) |
pointIndex() -> int Returns the index of the point of the FreePointTriadManip. The data type corresponding to this index is MFnNumericData.k3Double.
def OpenMayaUI.MFnFreePointTriadManip.setDirection | ( | ) |
setDirection(direction) -> self Sets the orientation of the FreePointTriadManip. * direction (MVector) - the new direction for freePointTriadManip.
def OpenMayaUI.MFnFreePointTriadManip.setDrawArrowHead | ( | ) |
setDrawArrowHead(state) -> self Sets whether or not drawArrowHead is on. * state (bool) - whether or not drawArrowHead is on
def OpenMayaUI.MFnFreePointTriadManip.setGlobalTriadPlane | ( | ) |
setGlobalTriadPlane(whichPlane) -> self Sets which plane to use as the global triad plane. The global triad plane does not change until the context switches. * whichPlane (int) - which plane to use as the global triad plane Valid plane values: kYZPlane Y-Z Plane kXZPlane X-Z Plane kXYPlane X-Y Plane kViewPlane View Plane
def OpenMayaUI.MFnFreePointTriadManip.setPoint | ( | ) |
setPoint(pointValue) -> self Set the point manipulator value to the given vector. This method can be called in the MPxManipContainer.connectToDependNode() method to set the initial position for the manipulator. * pointValue (MPoint) - The new value of the point manipValue
|
static |
Whether or not the axes of the FreePointTriadManip are being drawn. By default the axes are drawn.
|
static |
Whether or not the FreePointTriadManip is in keyframeAll mode.
|
static |
Whether or not the FreePointTriadManip is in snap mode.