WoWWiki-Zek@legacy41587983 (talk | contribs) No edit summary |
Charibot@legacy41530750 (talk | contribs) m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}}) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Stub/API}} |
||
− | <center>'''SetCamera''' ''-Documentation by Zek-''</center> |
||
+ | {{widgetmethod}} |
||
Selects a predefined camera. |
Selects a predefined camera. |
||
Line 27: | Line 28: | ||
Camera 2 (or in fact, any number other than 0 or 1) can be freely moved. |
Camera 2 (or in fact, any number other than 0 or 1) can be freely moved. |
||
− | |||
− | ---- |
||
− | {{Template:WoW API}} |
Revision as of 00:01, 15 July 2008
The API is no longer being updated here until further notice. |
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.