zoom( amount )

instance function

Set the current level of zoom for the camera. 1 is fully zoomed in and 0 is fully zoomed out.

Arguments

Name Type Description
amount Number The new zoom level