getViewport method

dynamic getViewport(
  1. dynamic target
)

Implementation

getViewport(target) {
  var viewport = this._viewport!;

  target.x = viewport["x"];
  target.y = viewport["y"];
  target.width = viewport["width"];
  target.height = viewport["height"];
  target.minDepth = viewport["minDepth"];
  target.maxDepth = viewport["maxDepth"];

  return target;
}