setViewport method

void setViewport(
  1. IViewportLike viewport, [
  2. num requiredWidth,
  3. num requiredHeight
])

Implementation

external void setViewport(IViewportLike viewport, [num requiredWidth, num requiredHeight]);