Camera2D.zoom

The camera's zoom relative to the viewport. Values larger than Vector2(1, 1) zoom out and smaller values zoom in. For an example, use Vector2(0.5, 0.5) for a 2x zoom in, and Vector2(4, 4) for a 4x zoom out.

  1. Vector2 zoom [@property getter]
    struct Camera2D
    @nogc nothrow @property
    Vector2
    zoom
    ()
  2. Vector2 zoom [@property setter]

Meta