Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the current zoom level of the camera.
zoom = GetCameraZoom()
Returns[]
- zoom
- number - the currently set zoom level
Details[]
- Doesn't take camera collisions with the environment into account and will return what the camera would be at. If the camera is in motion, the zoom level that is set that frame is used, not the zoom level that the camera is traveling to.