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.
OpenMaya.MFnMatrixData.isTransformation
(
)
Returns True if the attached object is an MTransformationMatrix, False if it is an 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.
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.
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.
OpenMaya.MFnMatrixData.transformation
(
)
Returns the encapsulated matrix as an 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.