Fandom

WoWWiki

API Model SetCamera

104,670pages on
this wiki
Add New Page
Talk0 Share
Widget API ← Model < SetCamera

Selects a predefined camera.

myModel:SetCamera(0);     -- Selects facial camera
myModel:SetCamera(1);     -- Selects front view full body camera
myModel:SetCamera(2);     -- Selects camera at 0,0,0 (movable)

Arguments
camera: the camera to select (0, 1 or 2).

Returns
nil

Description

There are 3 known pre-defined camera views.

Camera 0 (facial) is non movable. It only views the face (used by the system when it creates portrait pictures).

Camera 1 (frontal body view) can be rotated. Used by dressing room, character view and such like.

Camera 2 (or in fact, any number other than 0 or 1) can be freely moved.

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.

Also on Fandom

Random Wiki