ex_camera_set_zoom_scale

Sets the zoom scale for the camera

Syntax

ex_camera_set_zoom_scale(cameraHandle, scale)
Argument Description
cameraHandle The camera handle
scale scale, 100 is default
Returns nothing

Description

This function changes the camera's zoom scale instantly.

Example

//Set the zoom scale for the camera to 50%
ex_camera_set_zoom_scale(global._camera, 50);

Minimum Supported Version

exCamera 0.5.0