I see you already have a function setZoom in camera lib