pushTransform method

EngineLayer pushTransform (Float64List matrix4)

Pushes a transform operation onto the operation stack.

The objects are transformed by the given matrix before rasterization.

See pop for details about the operation stack.


EngineLayer pushTransform(Float64List matrix4) {
  if (matrix4 == null)
    throw new ArgumentError('"matrix4" argument cannot be null');
  if (matrix4.length != 16)
    throw new ArgumentError('"matrix4" must have 16 entries.');
  return _pushTransform(matrix4);