Translation.from_matrix

classmethod Translation.from_matrix(matrix)

Creates a Transformation from a 4x4 matrix-like object.

Parameters

matrix (4x4 matrix-like) – The 4x4 transformation matrix.

Returns

Transformation – The Transformation object.