Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 7.0.3 / 1.13.2

Gets the current zoom level of the camera.

zoom = GetCameraZoom()

Returns

zoom 
float, 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.


Advertisement