Transform to matrix

How do I get the matrix of a transform? I need to do a multiplication using a 4x4 matrix.

I imagine you are looking for transform.localToWorldMatrix