WoW API < SetView


Sets a camera perspective from one previously saved with SaveView.

SetView(viewIndex)


Arguments[edit | edit source]

viewIndex 
Number - The view index (1-5) to return to (1 is always first person, and cannot be saved with SaveView)

Returns[edit | edit source]

nil


Details[edit | edit source]

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.
Community content is available under CC-BY-SA unless otherwise noted.