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
Constructor & Destructor Documentation
OpenMayaAnim.MFnWeightGeometryFilter.__init__
(
)
Initialize self. See help(type(self)) for accurate signature.
Member Function Documentation
OpenMayaAnim.MFnWeightGeometryFilter.__new__
(
)
static
Create and return a new object. See help(type) for accurate signature.
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.
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.
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.
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.
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.