Pass Matrix4x4 to ComputeShader?

How can I pass a Matrix4x4 parameter to a ComputeShader?

Materials have the SetMatrix method but ComputeShaders lack this.

I thought maybe SetFloats to pass the Matrix4x4 as a float array like I would do with OpenGL but there doesn’t seem to be any straightforward way to get an array from a Matrix4x4.

Using version 5.4b.

Ah it’s been too long, my bad. Now they luckily do have a SetMatrix method for ComputeShaders, and even SetMatrixArray!