API GetCameraZoom

From Wowpedia
Jump to: navigation, search

Gets the current zoom level of the camera.

GetCameraZoom()

Returns

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.