Cogl.MatrixEntry.prototype.get
function get(): [return_value: Cogl.Matrix, matrix: Cogl.Matrix] { // Gjs wrapper for cogl_matrix_entry_get() }
Resolves the current entry transform into a Cogl.Matrix by combining the sequence of operations that have been applied to build up the current transform.
There are two possible ways that this function may return its result depending on whether it's possible to directly point to an internal Cogl.Matrix or whether the result needs to be composed of multiple operations.
If an internal matrix contains the required result then this function will directly return a pointer to that matrix, otherwise if the function returns null then matrix will be initialized to match the transform of entry.
<note>matrix will be left untouched if a direct pointer is returned.</note>
- return_value
A direct pointer to a Cogl.Matrix transform or null and in that case matrix will be initialized with the effective transform represented by entry.
- matrix
The potential destination for the transform as a matrix