Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Camera === 'Mouse Look' refers to holding down the right mouse button and controlling the movement direction. Shifting the view by holding down the 'left' mouse button is not covered by these APIs. :PROTECTED {{id|API|CameraOrSelectOrMoveStart}}() - Begin "Left click" in the 3D world. (protected 1.10) :PROTECTED {{id|API|CameraOrSelectOrMoveStop}}([stickyFlag]) - End "Left click" in the 3D world. (protected 1.10) :{{id|API|CameraZoomIn}}(increment) - Zooms the camera into the viewplane by increment. :{{id|API|CameraZoomOut}}(increment) - Zooms the camera out of the viewplane by increment. :{{id|API|FlipCameraYaw}}(degrees) - Rotates the camera about the Z-axis by the angle amount specified in degrees. :{{id|API|IsMouselooking}}() - Returns 1 if mouselook is currently active, nil otherwise. :{{id|API|MouselookStart}}() - Enters mouse look mode; mouse movement is used to adjust movement/facing direction. :{{id|API|MouselookStop}}() - Exits mouse look mode; mouse movement is used to move the mouse cursor. :{{id|API|MoveViewDownStart}}() - Begins rotating the camera downward. :{{id|API|MoveViewDownStop}}() - Stops rotating the camera after [[#MoveViewDownStart]]() is called. :{{id|API|MoveViewInStart}}() - Begins zooming the camera in. :{{id|API|MoveViewInStop}}() - Stops zooming the camera in after [[#MoveViewInStart]]() is called. :{{id|API|MoveViewLeftStart}}() - Begins rotating the camera to the Left. :{{id|API|MoveViewLeftStop}}() - Stops rotating the camera after [[#MoveViewLeftStart]]() is called. :{{id|API|MoveViewOutStart}}() - Begins zooming the camera out. :{{id|API|MoveViewOutStop}}() - Stops zooming the camera out after [[#MoveViewOutStart]]() is called. :{{id|API|MoveViewRightStart}}() - Begins rotating the camera to the Right. :{{id|API|MoveViewRightStop}}() - Stops rotating the camera after [[#MoveViewRightStart]]() is called. :{{id|API|MoveViewUpStart}}() - Begins rotating the camera upward. :{{id|API|MoveViewUpStop}}() - Stops rotating the camera after [[#MoveViewUpStart]]() is called. :PROTECTED {{id|API|PitchDownStart}}() - Begins pitching the camera Downward. :PROTECTED {{id|API|PitchDownStop}}() - Stops pitching the camera after [[#PitchDownStart]]() is called. :PROTECTED {{id|API|PitchUpStart}}() - Begins pitching the camera Upward. :PROTECTED {{id|API|PitchUpStop}}() - Stops pitching the camera after [[#PitchUpStart]]() is called. :{{id|API|NextView}}() - Cycles forward through the five predefined camera positions. :{{id|API|PrevView}}() - Cycles backward through the five predefined camera positions. :{{id|API|ResetView}}(index) - Resets the specified (1-5) predefined camera position to its default if it was changed using [[#SaveView]](index). :{{id|API|SaveView}}(index) - Replaces the specified (1-5) predefined camera positions with the current camera position. :{{id|API|SetView}}(index) - Sets camera position to a specified (1-5) predefined camera position.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)