OpenMaya.MFnMatrixAttribute Class Reference
Functionset for creating and working with matrix attributes.
Method resolution order:
- MFnMatrixAttribute
- MFnAttribute
- MFnBase
- __builtin__.object
Base Class
MFnAttribute<h2>Constructors
Signature Parameters Description
MFnMatrixAttribute() Default constructor. Returns a new MFnMatrixAttribute function set with no Maya object attached.
MFnMatrixAttribute(object) object - MObject Returns a new MFnMatrixAttribute function set, attached to the specified Maya object .
OpenMaya.MFnMatrixAttribute.__init__
(
)
x.__init__(...) initializes x; see help(type(x)) for signature
OpenMaya.MFnMatrixAttribute.create
(
)
Creates a new matrix attribute, attaches it to the function set and returns it as an MObject.
Signature: create(longName, shortName, type=kDouble)
Parameters: longName - string
shortName - string
type - Matrix Type constant
Returns: MObject
Description: Create a new float or double matrix attribute with the given longName and shortName , attach it to the function set and return it in an MObject .
OpenMaya.MFnMatrixAttribute.kDouble = 1
static
Name: kDouble
Type: int
Description: Matrix of double-precision floats.
OpenMaya.MFnMatrixAttribute.kFloat = 0
static
Name: kFloat
Type: int
Description: Matrix of single-precision floats.
OpenMaya.MFnMatrixAttribute.default
static
The documentation for this class was generated from the following files:
D:/Maya-MD-Merge/input/python/2.0/OpenMaya.py
D:/Maya-MD-Merge/input/python/extras.dox