def __init__(self, matrix=None, translate=None, rotate=None, scale=None):
    args = ([matrix] if (matrix is not None) else [])
    super(TransformationMatrix, self).__init__(*args)
    if (translate is not None):
        self.setTranslation(translate)
    if (rotate is not None):
        self.setRotation(rotate)
    if (scale is not None):
        self.setScale(scale)
def __init__(self, matrix=None, translate=None, rotate=None, scale=None):
    args = ([matrix] if (matrix is not None) else [])
    super(TransformationMatrix, self).__init__(*args)
    if (translate is not None):
        self.setTranslation(translate)
    if (rotate is not None):
        self.setRotation(rotate)
    if (scale is not None):
        self.setScale(scale)