getMat4 method
Effective value of a mat4 parameter, the assigned value if set, otherwise the sidecar default. Throws on an unknown name or wrong type.
Implementation
Matrix4 getMat4(String name) =>
Matrix4.fromList(_readFloats(_slot(name, FmatType.mat4).offsetBytes, 16));