The "camera_get_view_yscale" Function

Syntax

camera_get_view_yscale(camera);
ArgumentTypeDescription
cameracameraThe camera index to check (typically view_camera[#])

Description

Returns the vertical scale multipler of a view camera scaled with camera_set_view_scale.

If the input view has not been scaled, it will return a value of 1. If the input view does not exist, it will return 0 instead.

Example

image_yscale = camera_get_view_yscale(view_camera[1]);