setCamera2DZoom
setCamera2DZoom(
writer,zoom):void
Zooms the current Camera2D toward zoom, eased, as the wheel does; the
aim holds it inside minZoom and maxZoom.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
ViewWriter |
zoom |
number |
Returns
Section titled “Returns”void