getMat4 method

Matrix4 getMat4(
  1. String name
)

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));