toNative method

Matrix4 toNative()

Returns a native Matrix4 instance based on this GMatrix a,b,c,d,tx,ty

Implementation

Matrix4 toNative() {
  _native.setValues(a, b, 0, 0, c, d, 0, 0, 0, 0, 1, 0, tx, ty, 0, 1);
  return _native;
}