setViewport method

void setViewport(
  1. double x,
  2. double y,
  3. double width,
  4. double height,
  5. double minDepth,
  6. double maxDepth,
)

Implementation

void setViewport(double x, double y, double width, double height,
        double minDepth, double maxDepth) =>
    js_util.callMethod(
        this, 'setViewport', [x, y, width, height, minDepth, maxDepth]);