Fandom

WoWWiki

API SetView

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < SetView


Sets a camera perspective from one previously saved with SaveView.

SetView(viewIndex)


Arguments Edit

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

Returns Edit

nil


Details Edit

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.

Also on Fandom

Random Wiki