View.viewport

The target viewpoirt.

The viewport is the rectangle into which the contents of the view are * displayed, expressed as a factor (between 0 and 1) of the size of the * RenderTarget to which the view is applied. For example, a view which * takes the left side of the target would be defined with * View.setViewport(FloatRect(0, 0, 0.5, 1)). By default, a view has a * viewport which covers the entire target.

  1. FloatRect viewport [@property setter]
    struct View
    @property
    viewport
  2. FloatRect viewport [@property getter]

Meta