|
Python API 2.0 Reference
|
Inheritance diagram for OpenMayaAnim.MFnWeightGeometryFilter:Static Public Member Functions | |
| def | __new__ () |
Static Public Member Functions inherited from OpenMayaAnim.MFnGeometryFilter | |
| 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__ () |
Function set for operating on weightGeometryFilter nodes. weightGeometryFilter is the abstract node type from which weighted deformer node types derive. __init__() Initializes a new, empty MFnWeightGeometryFilter functionset. __init__(MObject) Initializes a new MFnWeightGeometryFilter functionset and attaches it to a geometryFilter node. Method resolution order: - MFnWeightGeometryFilter - MFnGeometryFilter - OpenMaya.MFnDependencyNode - OpenMaya.MFnBase - builtins.object
| def OpenMayaAnim.MFnWeightGeometryFilter.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
| def OpenMayaAnim.MFnWeightGeometryFilter.getEnvelopeWeights | ( | ) |
getEnvelopeWeights(index) -> MFloatArray Returns the weights the deformer uses for the geometry at the specified plug index. * index (unsigned int) - Plug index of the desired geometry.
| def OpenMayaAnim.MFnWeightGeometryFilter.getWeightPlugStrings | ( | ) |
weightPlugStrings(list) -> MStringArray Returns the names of the plugs on this node that correspond to the components in the selection list. * list (MSelectionList) - selection list that contains components.
| def OpenMayaAnim.MFnWeightGeometryFilter.getWeights | ( | ) |
getWeights(index, components) -> MFloatArray getWeights(path, components) -> MFloatArray Returns the weight values of the components. * plugIndex (unsigned int) - Plug index of the desired geometry. * path (MDagPath) - The path of the DAG object that has the components. * components (MObject) - The components whose weights are requested.
| def OpenMayaAnim.MFnWeightGeometryFilter.setWeight | ( | ) |
setWeight(path, index, components, weight, oldValues=None) setWeight(path, index, components, values) setWeight(path, components, weight, oldValues=None) setWeight(path, components, values) Returns the status of the operation. * path (MDagPath) - The path of the DAG object that has the components. * index (unsigned int) - Plug index of the desired geometry. * components (MObject) - The components of the object. * weight (float) - Weight weight value for the components. * values (MFloatArray) - An array of new values for the components. * oldValues (MFloatArray) - An array of old values for the components.
| def OpenMayaAnim.MFnWeightGeometryFilter.weightPlugStrings | ( | ) |
weightPlugStrings(list) -> MString Returns a string (separated by spaces) containing the names of the plugs on this node that correspond to the components in the selection list. * list (MSelectionList) - selection list that contains components.