Python API 2.0 Reference
|
Public Member Functions | |
def | __init__ () |
def | hasObj () |
def | object () |
def | setObject () |
def | type () |
Static Public Member Functions | |
def | __new__ () |
Base class for function sets.
Base class for function sets.
def OpenMaya.MFnBase.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
OpenMaya.MFnBase.hasObj | ( | ) |
Returns True if the function set is compatible with the specified Maya object.
Signature: | hasObj(type) |
Parameters: | type - MFn Type constant |
Returns: | bool |
Description: | True if the function set is compatible with the specified type of Maya object. |
Signature: | hasObj(object) |
Parameters: | object - MObject |
Returns: | bool |
Description: | True if the function set is compatible with the specified Maya object. |
OpenMaya.MFnBase.object | ( | ) |
Returns a reference to the object to which the function set is currently attached, or MObject.kNullObj if none.
Signature: | object() |
Parameters: | |
Returns: | MObject |
Description: | Returns a reference to the object to which the function set is currently attached, or MObject.kNullObj if none. |
OpenMaya.MFnBase.setObject | ( | ) |
Attaches the function set to the specified Maya object.
Signature: | setObject(object) |
Parameters: | object - MObject |
Returns: | Reference to self. |
Description: | Attaches the function set to the specified Maya object. |