WoW:API CameraZoomOut: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page API CameraZoomOut to API CameraZoomOut without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{wowapi}}
<center>'''CameraZoomOut'''</center>
<center>'''CameraZoomOut'''</center>


Line 9: Line 10:


=== Returns ===
=== Returns ===
:<i>nil</i>
:''nil''




== Details ==
== Details ==
: Zooms the camera out of the viewplane by <i>increment</i>.  The increment must be between 0.0 and the <i>max camera distance</i>.  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 <i>max camera distace</i> by zooming in to first person and counting the number of times you can call this function with <i>increment</i> set to 1.0 and still zoom out.
: 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.
----
----
__NOTOC__
__NOTOC__
{{WoW API}}

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.