The CurveSegmentManip allows the user to manipulate two points on a curve, in order to specify a curve segment. This manipulator generates two floating point values, which correspond to the parameters of the start and end of the curve segment. Method resolution order: - MFnCurveSegmentManip - MFnManip3D - OpenMaya.MFnTransform - OpenMaya.MFnDagNode - OpenMaya.MFnDependencyNode - OpenMaya.MFnBase - __builtin__.object
Properties | |
endParameter | |
startParameter | |
![]() | |
isOptimizePlaybackOn | |
isVisible | |
manipScale | |
![]() | |
boundingBox | |
inModel | |
inUnderWorld | |
isInstanceable | |
isIntermediateObject | |
objectColor | |
objectColorRGB | |
objectColorType | |
useObjectColor | |
![]() | |
isDefaultNode | |
isFromReferencedFile | |
isLocked | |
isShared | |
namespace | |
pluginName | |
typeId | |
typeName | |
OpenMayaUI.MFnCurveSegmentManip.__init__ | ( | ) |
x.__init__(...) initializes x; see help(type(x)) for signature
OpenMayaUI.MFnCurveSegmentManip.connectToCurvePlug | ( | ) |
connectToCurvePlug(curvePlug) -> self Connect to the curve plug. The data type corresponding to the curvePlug is MFnData.kNurbsCurve. * curvePlug (MPlug) - the curve plug
OpenMayaUI.MFnCurveSegmentManip.connectToEndParamPlug | ( | ) |
connectToEndParamPlug(endParamPlug) -> self Connect to the endParam plug. The data type corresponding to the endParamPlug is a double. * endParamPlug (MPlug) - the endParam plug
OpenMayaUI.MFnCurveSegmentManip.connectToStartParamPlug | ( | ) |
connectToStartParamPlug(startParamPlug) -> self Connect to the startParam plug. The data type corresponding to the startParamPlug is a double. * startParamPlug (MPlug) - the startParam plug
OpenMayaUI.MFnCurveSegmentManip.create | ( | ) |
create(manipName=None, startParamName=None, endParamName=None) -> MObject Creates a new CurveSegmentManip. This function set's object is set to be the new manipulator. This method should only be used to create a non-composite CurveSegmentManip. The names that appears in the feedback line are specified by the startParamName and endParamName arguments. * manipName (string) - Name of the manip for UI purposes. * startParamName (string) - Label for the startParam value which appears in the feedback line. * endParamName (string) - Label for the endParam value which appears in the feedback line.
OpenMayaUI.MFnCurveSegmentManip.curveIndex | ( | ) |
curveIndex() -> int Returns the index of the curve. The data type corresponding to this index is MFnData.kNurbsCurve.
OpenMayaUI.MFnCurveSegmentManip.endParamIndex | ( | ) |
endParamIndex() -> int Returns the index of the end parameter of the CurveSegmentManip. The data type corresponding this index is a double.
OpenMayaUI.MFnCurveSegmentManip.startParamIndex | ( | ) |
startParamIndex() -> int Returns the index of the start parameter of the CurveSegmentManip. The data type corresponding to this index is a double.
|
static |
The end parameter of the CurveSegmentManip.
|
static |
The start parameter of the CurveSegmentManip.