WoW API: SetView

Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API SetView to API SetView without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < SetView


Sets a camera perspective from one previously saved with SaveView.

SetView(viewIndex)


ArgumentsEdit

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

ReturnsEdit

nil


DetailsEdit

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.