Transform:getMatrix

Available since LÖVE 11.0
This function is not supported in earlier versions.

Gets the internal 4x4 transformation matrix stored by this Transform. The matrix is returned in row-major order.

Function

Synopsis

e1_1, e1_2, ..., e4_4 = Transform:getMatrix( )

Arguments

None.

Returns

number e1_1
The first column of the first row of the matrix.
number e1_2
The second column of the first row of the matrix.
number ...
Additional matrix elements.
number e4_4
The fourth column of the fourth row of the matrix.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Transform:getMatrix