None.
None.
None.
Signature | Parameters | Description |
---|---|---|
MFnMatrixData() | Default constructor. Returns a new MFnMatrixData function set with no Maya object attached. | |
MFnMatrixData(object) | object - MObject | Returns a new MFnMatrixData function set, with the specified Maya object attached. |
Signature | Parameters | Returns | Description |
---|---|---|---|
create() | MObject | Creates a new MMatrix data object, initializes it to the identity matrix, attaches it to the function set and returns an MObject which references it. | |
create(matrix) | matrix - MMatrix | MObject | Creates a new MMatrix data object, initializes it from the given matrix, attaches it to the function set and returns an MObject which references it. |
create(tm) | tm - MTransformationMatrix | MObject | Creates a new MTransformationMatrix data object, initializes it from transformation matrix tm, attaches it to the function set and returns an MObject which references it. |
isTransformation() | bool | Returns True if the attached object is an MTransformationMatrix, False if it is an MMatrix. | |
matrix() | MMatrix | Returns the encapsulated MMatrix. If the function set was previously encapsulating an MTransformationMatrix it will be converted to an MMatrix and any previously returned references (e.g. from the transformation() method) will no longer be invalid. | |
set(matrix) | matrix - MMatrix | Reference to self. | Replaces the contents of the encapsulated matrix with that of the supplied matrix. If the function set was previously encapsulating an MTransformationMatrix it will be switched to an MMatrix and any previously returned references (e.g. from the transformation() method) will no longer be invalid. |
set(tm) | tm - MTransformationMatrix | Reference to self. | Replaces the contents of the encapsulated matrix with that of the supplied transformation matrix tm. If the function set was previously encapsulating an MMatrix it will be switched to an MTransformationMatrix and any previously returned references (e.g. from the matrix() method) will no longer be invalid. |
transformation() | MTransformationMatrix | Returns the encapsulated MTransformationMatrix. If the function set was previously encapsulating an MMatrix it will be converted to an MTransformationMatrix and any previously returned references (e.g. from the matrix() method) will no longer be invalid. |
None.
None.
None.
None.
© 2011 Autodesk, Inc. All rights reserved.