dtcc.Transform.set_rotation(rotation_matrix)[source]

Sets the rotation part of the affine transform. :param rotation_matrix: a 3x3 numpy array representing the rotation.