toMatrix method
Creates a transformation matrix that applies the devicePixelRatio.
Implementation
Matrix4 toMatrix() {
return Matrix4.diagonal3Values(devicePixelRatio, devicePixelRatio, 1.0);
}
Creates a transformation matrix that applies the devicePixelRatio.
Matrix4 toMatrix() {
return Matrix4.diagonal3Values(devicePixelRatio, devicePixelRatio, 1.0);
}