RenderTarget.view

The current active view.

The view is like a 2D camera, it controls which part of the 2D scene * is visible, and how it is viewed in the render-target. The new view * will affect everything that is drawn, until another view is set.

The render target keeps its own copy of the view object, so it is not necessary to keep the original one alive after calling this function. * To restore the original view of the target, you can pass the result * of getDefaultView() to this function.

  1. View view [@property setter]
    interface RenderTarget
    @property
    view
  2. View view [@property getter]

Meta