WoW:API CameraZoomOut: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
Line 13: Line 13:


== Details ==
== Details ==
: Zooms the camera out of the viewplane by <i>increment</i>.  The increment must be between 0.0 and 5.0 with 0.0 indicating no zoom relative to current view and 5.0 being maximum zoomFrom a completely zoomed in position (first person), an increment of 5.0 will result in a completely zoomed out angle.
: 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 30You 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.
 
(Seems you can zoom out to 50 now - this may have been added in a later patch)
----
----
__NOTOC__
__NOTOC__
{{WoW API}}
{{WoW API}}

Revision as of 18:33, 16 February 2006

CameraZoomOut

Zooms the camera out of the viewplane

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 distace 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.

Template:WoW API