OpenMaya.MFnBase Class Reference
Base class for function sets.
Base class for function sets.
| OpenMaya.MFnBase.__init__ |
( |
| ) |
|
x.__init__(...) initializes x; see help(type(x)) for 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. |
| OpenMaya.MFnBase.type |
( |
| ) |
|
Returns the type of the function set.
| Signature: | type() |
| Parameters: | |
| Returns: | MFn Type constant |
| Description: | Returns the type of the function set. |