Resolves the current this transform into a Matrix by combining the 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 the stack is able to directly point to an internal 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 current
transform of this.
<note>matrix
will be left untouched if a direct pointer is returned.</note>
this | |
matrix |
The potential destination for the current matrix |
A direct pointer to the current transform or null and in that case |