CameraZoomOut

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Zooms the camera out.

CameraZoomOut(increment)

Parameters

Arguments

(float increment)

Returns

nil


Details

Zooms the camera out of the viewplane by increment. The increment must be between 0.0 and the max camera distance. As of patch 1.9.0 if the 'Interface Options > Advanced Options > Max Camera Distance' setting is set to Low, then the largest value for increment is 15. If this setting is set to High, then the largest value for increment is 30. You can test for the max camera distance by zooming in to first person and counting the number of times you can call this function with increment set to 1.0 and still zoom out.