@get


Description:

public Matrix? @get (out Matrix matrix)

Resolves the current this transform into a 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 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 this.

<note>matrix will be left untouched if a direct pointer is returned.</note>

Parameters:

this

A MatrixEntry

matrix

The potential destination for the transform as a matrix

Returns:

A direct pointer to a Matrix transform or null and in that case matrix will be initialized with the effective transform represented by this.