WoW API: SetView

From AddOn Studio
Revision as of 13:23, 27 June 2007 by WoWWiki>Ravas (Updated to match the current API boilerplate.)
Jump to navigation Jump to search

WoW API < SetView


Sets a camera perspective from one previously saved with SaveView.

SetView(viewIndex)


Arguments

viewIndex
Number - The view index (1-4) to return to


Returns

nil


Details

If SaveView has not previously been used on the view index, then your camera will be set to a preset position and angle.
The first view index defaults to first person.