Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API SetView

Last wiki revision 2022-07-22

Sets the camera to a predefined camera position (1-5). SetView(viewIndex)

  • viewIndex: - The view index (1-5) to return to (1 is always first person, and cannot be saved with SaveView)
  • 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.
  • The last position loaded is stored in the CVar cameraView.

Source

https://warcraft.wiki.gg/wiki/API_SetView · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.