MatrixAttribute

class cgp_maya_utils.scene.MatrixAttribute(fullName)

Bases: cgp_maya_utils.scene.Attribute

attribute object that manipulates a matrix attribute

setValue(value)

set the value on the matrix attribute

Parameters:value (list[int, float]) – value to set on the matrix attribute
transformationMatrix(rotateOrder=None)

the transformationMatrix related to the MMatrix stored in the matrix attribute

Parameters:rotateOrder (str) – rotateOrder of the transformationMatrix to get - use transform one if nothing specified
Returns:the transformationMatrix
Return type:cgp_maya_utils.api.TransformationMatrix