WoW:API CameraZoomOut: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (spelling corrections)
m (Move page script moved page API CameraZoomOut to API CameraZoomOut without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

WoW API < CameraZoomOut

CameraZoomOut

Zooms the camera out of the viewplane

CameraZoomOut(increment)

Parameters[edit]

Arguments[edit]

(float increment)

Returns[edit]

nil


Details[edit]

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.