Function 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 2× zoom-in, and Vector2(4, 4)
for a 4× zoom-out.
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 2× zoom-in, and Vector2(4, 4)
for a 4× zoom-out.